Commit 94012a5
security: re-pin secret scanner onto the real gitleaks gate (#49)
This repo's `Secret Scanner` has been reporting **success while being
incapable of failing**.
The caller pinned `secret-scanner-reusable` at `@d135b05` (2026-06-24) —
**64 commits behind** standards#500. At that pin the step is literally:
```yaml
- name: Gitleaks Secret Scan
continue-on-error: true # <- cannot fail
uses: gitleaks/gitleaks-action@e0c47f4f...
```
Re-pinned to `@c65436ee` (contains #500 — `compare` reports ahead 5 /
behind 0):
```yaml
- name: Install gitleaks (pinned + checksum-verified) # sha256-verified binary
- name: Gitleaks secret scan (gating)
run: ... gitleaks detect ... --exit-code 1 # 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`. (That mismatch is what
`startup_failure`d standards' own scanner; see standards#511.)
Verified before opening: `gitleaks detect --exit-code 1` passes on this
tree.
Part of the estate-wide sweep of ~200 repos still on the pre-#500 pin.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 2be0efe commit 94012a5
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
0 commit comments