Commit 6b3895e
authored
fix(ci): add security-events permission and action.yml to zizmor paths (#218)
Two fixes for the Zizmor workflow:
1. **Add `security-events: write` permission** - The zizmor-action
uploads SARIF results via `codeql-action/upload-sarif`, which requires
this permission. Without it, every run fails with "Resource not
accessible by integration" even when zizmor finds zero issues.
2. **Add `action.yml` to path triggers** - The repo's composite action
(`action.yml`) was only scanned on `workflow_dispatch`, not on push/PR
changes.1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments