Skip to content

Commit e832a0e

Browse files
committed
Add contents:read to zizmor job permissions
The job declares security-events:write for SARIF upload, but this drops the implicit contents:read needed by actions/checkout.
1 parent 2475403 commit e832a0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
name: Zizmor
139139
runs-on: ubuntu-latest
140140
permissions:
141+
contents: read
141142
security-events: write
142143
steps:
143144
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

0 commit comments

Comments
 (0)