Skip to content

Commit e185099

Browse files
fix(ci): grant secret-scanner reusable its requested job permissions (#44)
Estate sweep: the reusable's gitleaks job requests `pull-requests: write` + `actions: read` (PR summary comments, .git-private-farm#69). A called workflow cannot exceed the caller's grant, so this wrapper died at `startup_failure` on every run — at any pin. Root cause and canonical caller shape fixed in standards#472; proven green on somethings-fishy#51. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 9e7ae73 commit e185099

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/secret-scanner.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,13 @@ permissions:
1515

1616
jobs:
1717
scan:
18+
# The reusable's gitleaks job requests pull-requests: write (PR
19+
# summary comments) and actions: read. A called workflow cannot
20+
# exceed the caller's grant - without these, every run dies at
21+
# startup_failure. See standards#472.
22+
permissions:
23+
contents: read
24+
pull-requests: write
25+
actions: read
1826
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236
19-
secrets: inherit
27+
secrets: inherit

0 commit comments

Comments
 (0)