Skip to content

Commit 24f4230

Browse files
authored
Merge pull request #2413 from webknjaz/maintenance/nested-zizmor-gha-workflow-permissions
🧪🚑 Enable `security-events` @ cron+release
2 parents 91636f5 + 61d5593 commit 24f4230

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/cron.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99
main:
1010
name: CI
11+
12+
permissions:
13+
security-events: write # Needed by the nested Zizmor workflow
14+
1115
uses: ./.github/workflows/ci.yml
1216
with:
1317
cpython-versions: >-

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ jobs:
5959
github.event.action == 'published'
6060
&& 'release' || 'nightly'
6161
}}]
62+
63+
permissions:
64+
security-events: write # Needed by the nested Zizmor workflow
65+
6266
uses: ./.github/workflows/ci.yml
6367
with:
6468
release-version: ${{ github.ref_name }}

0 commit comments

Comments
 (0)