Skip to content

Commit 375111f

Browse files
authored
Move permissions to higher context (#4135)
1 parent 467c828 commit 375111f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/production-release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ defaults:
2424
shell: bash
2525

2626
permissions:
27-
contents: read
27+
contents: write
28+
packages: write
29+
id-token: write
30+
security-events: write
31+
issues: write
32+
actions: write
2833

2934
jobs:
3035
create-tag-and-release:
@@ -94,10 +99,3 @@ jobs:
9499
operator_version: ${{ github.event.inputs.operator-version }}
95100
dry_run: ${{ github.event.inputs.dry_run }}
96101
secrets: inherit
97-
permissions:
98-
contents: write
99-
packages: write
100-
id-token: write
101-
security-events: write
102-
issues: write
103-
actions: write

0 commit comments

Comments
 (0)