fix: drop setup-node uses; fix GITHUB_OUTPUT python quoting
Gatekeep evals / eval-floor (push) Successful in 2s
Gatekeep evals / eval-floor (pull_request) Successful in 2s
gatekeep / security PR risk high — no open security blockers
Gatekeep / gatekeep (pull_request) Successful in 1m12s

Remove the optional setup-node step (still 404s as ##[error] on this
forge). Fix review.sh output writer — escaped quotes in a one-liner
caused SyntaxError after an otherwise successful publish.
This commit is contained in:
layue13 committed 2026-10-27 08:06:30 +00:00
1 parent 7b25fefdaa
commit 7a581254bf
2 files changed
+11 -15

No files matched your search

+8 -5
View File
@@ -176,11 +176,14 @@ set -e
META=$(cat "$OUT/merge-meta.json")
if [[ -n "${GITHUB_OUTPUT:-}" ]]; then
python3 -c 'import json,os,sys
m=json.loads(sys.argv[1])
open(os.environ["GITHUB_OUTPUT"],"a").write(
f"risk_tier={m[\"risk_tier\"]}\nsecurity_blocking={str(m[\"security_blocking\"]).lower()}\nagreed_count={m[\"agreed_count\"]}\n"
)' "$META"
python3 - "$META" <<'PY'
import json, os, sys
m = json.loads(sys.argv[1])
with open(os.environ["GITHUB_OUTPUT"], "a", encoding="utf-8") as fh:
fh.write(f"risk_tier={m['risk_tier']}\n")
fh.write(f"security_blocking={str(m['security_blocking']).lower()}\n")
fh.write(f"agreed_count={m['agreed_count']}\n")
PY
fi
exit "$pub_ec"