Skip to content

Commit 4d2cff3

Browse files
hyperpolymathclaude
andcommitted
security: re-pin secret scanner onto the real gitleaks gate
The caller pinned standards' secret-scanner-reusable at @d135b05 (2026-06-24), which is 64 commits behind standards#500. At that pin the gitleaks step carries `continue-on-error: true` — the scan runs, reports success, and cannot fail. This repo's Secret Scanner has therefore been green while being incapable of failing. Re-pinned to @c65436ee, which contains #500: gitleaks now runs as a pinned, checksum-verified binary with `--exit-code 1` and gates for real. Also narrowed the caller's grant to `contents: read`. The new reusable invokes a binary rather than gitleaks-action, so it no longer requests `pull-requests: write` / `actions: read`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1e7b0a1 commit 4d2cff3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/secret-scanner.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@ jobs:
1717
scan:
1818
permissions:
1919
contents: read
20-
pull-requests: write
21-
actions: read
22-
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236
20+
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@c65436ee3351cd6b0fa14b142938b195efc77586
2321
secrets: inherit

0 commit comments

Comments
 (0)