audit-labs/gh-attest
GitHub Audit Evidence Extractor
clone: git clone https://gitbay.org/audit-labs/gh-attest.git
ec3e573dffc983790ed6db8daac57decfe190ac3
verified · cmc
author: Christian Cleberg <hello@cleberg.net> · 2026-08-21T04:41:16Z
.github/workflows/ci.yml | 4 +++- .github/workflows/migration-drift.yml | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) @@ -19,7 +19,9 @@ jobs: node-version: '26' cache: npm - - run: npm ci + # --ignore-scripts: no dependency here needs a lifecycle hook, and CI + # should not run arbitrary postinstall code from the tree. + - run: npm ci --ignore-scripts # worker-configuration.d.ts is generated, not committed, and tsconfig # lists it under "types" — so tsc cannot run on a fresh checkout without @@ -25,7 +25,9 @@ jobs: node-version: '26' cache: npm - - run: npm ci + # --ignore-scripts: no dependency here needs a lifecycle hook, and CI + # should not run arbitrary postinstall code from the tree. + - run: npm ci --ignore-scripts - name: Every migration in migrations/ is applied to production env: @@ -35,7 +37,7 @@ jobs: echo "::error::CLOUDFLARE_API_TOKEN is not set — this check cannot see production." exit 1 fi - out=$(npx wrangler d1 migrations list DB --remote 2>&1) || true + out=$(./node_modules/.bin/wrangler d1 migrations list DB --remote 2>&1) || true echo "$out" if echo "$out" | grep -q "No migrations to apply"; then echo "Production schema matches migrations/."