Skip to content

Commit bb7ee6b

Browse files
authored
ci: include more explicit permissions, not fewer (#316)
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 parent 7a6ef96 commit bb7ee6b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@ jobs:
4646
runs-on: ubuntu-latest
4747
needs: [create-draft-release]
4848
permissions:
49+
actions: write
50+
attestations: write
51+
checks: write
52+
contents: write
4953
id-token: write
54+
packages: write
55+
statuses: write
5056
steps:
5157
- run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV"
5258
- uses: actions/checkout@v4
@@ -79,7 +85,13 @@ jobs:
7985
runs-on: ubuntu-latest
8086
needs: [create-draft-release]
8187
permissions:
88+
actions: write
89+
attestations: write
90+
checks: write
91+
contents: write
8292
id-token: write
93+
packages: write
94+
statuses: write
8395
steps:
8496
- run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV"
8597
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)