Skip to content

docs: usage-anchors entry in CLAUDE.md (2.261.0 dead-reckoning founda… #414

docs: usage-anchors entry in CLAUDE.md (2.261.0 dead-reckoning founda…

docs: usage-anchors entry in CLAUDE.md (2.261.0 dead-reckoning founda… #414

Workflow file for this run

name: secret-scan
on:
push:
pull_request:
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- name: Scan tracked files for secrets
run: |
set -e
rc=0
for f in $(git ls-files | grep -vE '\.(png|jpe?g|gif|svg|ico|woff2?|pdf|zip|gz)$|^public/(bundle|novnc)\.js$|^package-lock\.json$'); do
node scripts/secret-scan.mjs "$f" --quiet || rc=1
done
if [ "$rc" != "0" ]; then
echo "::error::secret-scan found potential secrets — review the output above"
exit 1
fi
echo "secret-scan clean"