Commit 08e2d24
ci(secret-scanner): make gitleaks gate for real, not continue-on-error
The gitleaks job carried continue-on-error: true (comment: gitleaks-action
tool-cache PATH injection unreliable on self-hosted runners), so the estate's
primary secret scanner could not fail a single PR anywhere it is used.
Replace gitleaks/gitleaks-action with a pinned, checksum-verified gitleaks
8.18.4 binary run directly (gitleaks detect --source . --no-git --exit-code 1).
A direct install is deterministic on every runner, removing the exact
unreliability the continue-on-error was papering over, so the scan now gates.
Comments/summary were already disabled via env vars, so the action provided
only the scan; the swap loses no functionality and drops the now-unneeded
GITHUB_TOKEN env and fetch-depth: 0.
Verified locally with the pinned binary: checksum matches; a private-key
fixture exits 1, a clean tree exits 0; actionlint clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5fc40aa commit 08e2d24
1 file changed
Lines changed: 33 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | 88 | | |
91 | 89 | | |
92 | | - | |
93 | | - | |
94 | 90 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
102 | 124 | | |
103 | 125 | | |
104 | 126 | | |
| |||
0 commit comments