Skip to content

Commit b03533e

Browse files
authored
chore(ci): fix release workflow permissions (#9822)
1 parent 860661b commit b03533e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/publish-nargo.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ on:
1717
merge_group:
1818
pull_request:
1919

20-
permissions:
21-
# Necessary to upload new release artifacts
22-
contents: write
2320

2421
jobs:
2522
build-apple-darwin:
@@ -33,7 +30,8 @@ jobs:
3330
timeout-minutes: 30
3431
permissions:
3532
id-token: write
36-
contents: read
33+
# Necessary to upload new release artifacts
34+
contents: write
3735
attestations: write
3836

3937
steps:
@@ -140,7 +138,8 @@ jobs:
140138
timeout-minutes: 30
141139
permissions:
142140
id-token: write
143-
contents: read
141+
# Necessary to upload new release artifacts
142+
contents: write
144143
attestations: write
145144

146145
steps:

0 commit comments

Comments
 (0)