Commit 302f2a4
authored
ci: Secret Scanner caller must grant the reusable's job permissions (#181)
Adds `pull-requests: write` + `actions: read` to the `scan` job so the
standards secret-scanner reusable's gitleaks job can start. A called
workflow cannot exceed the caller's grant; without this the run dies at
startup (`startup_failure`, 0s) — the estate-wide Secret Scanner red.
Mechanical caller-side fix, mirrors hyperpolymath/standards#472. No
behaviour change beyond letting the scan run.
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 5d78093 commit 302f2a4
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | | - | |
| 32 | + | |
0 commit comments