Skip to content

Commit c13aba5

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 176fb4d commit c13aba5

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
@@ -132,6 +132,7 @@ jobs:
132132
name: Zizmor
133133
runs-on: ubuntu-latest
134134
permissions:
135+
contents: read
135136
security-events: write
136137
steps:
137138
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

0 commit comments

Comments
 (0)