Commit 446ac06
fix(ci): grant the secret-scanner reusable its required job permissions
The scan job calls secret-scanner-reusable.yml, whose gitleaks job declares
pull-requests: write (PR summary comment) and actions: read (workflow-run
metadata) at job level. A called reusable workflow may only request
permissions equal to or more restrictive than its caller, and this caller
granted only the file-level contents: read — so GitHub refused the run at
parse time. Every Secret Scanner run ended in startup_failure, meaning
secret scanning has never actually executed in this repo.
Grants the superset at job level, matching the canonical template and the
176 estate repos whose scanner already runs. No SHA pin is changed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6167269 commit 446ac06
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
0 commit comments