Commit 61d5593
committed
🧪🚑 Enable
This patch sets the top-level `security-events: write` privilege in
the nightly and release GHA CI/CD workflows where they call `ci.yml`,
which in turn calls the upstream Zizmor workflow requiring it.
The change intends to fix the following error [[1]] we've recently
started encountering due to internal changes within GH:
```console
Invalid workflow file: .github/workflows/cron.yml#L9
The workflow is not valid. .github/workflows/cron.yml (Line: 9, Col: 3): Error calling workflow 'jazzband/pip-tools/.github/workflows/ci.yml@91636f5'. The nested job 'zizmor' is requesting 'security-events: write', but is only allowed 'security-events: none'.
```
[1]: https://github.com/jazzband/pip-tools/actions/runs/27537892831/workflowsecurity-events @ cron+release1 parent 91636f5 commit 61d5593
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
0 commit comments