Skip to content

Commit 1289146

Browse files
ci: Secret Scanner caller must grant the reusable's job permissions (#99)
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 cd9255c commit 1289146

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/secret-scanner.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,9 @@ permissions:
2121
contents: read
2222
jobs:
2323
scan:
24+
permissions:
25+
contents: read
26+
pull-requests: write
27+
actions: read
2428
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236 # main as of 2026-06-01
25-
secrets: inherit
29+
secrets: inherit

0 commit comments

Comments
 (0)