Skip to content

Commit 3a52588

Browse files
stephanosionashif
authored andcommitted
ci: Set explicit content write permission for release workflow
This commit updates the release workflow such that an explicit content write permission is granted to the GITHUB_TOKEN used throughout the workflow. The content write permission is required to upload the release assets to the repository and must be manually set when the repository default workflow permissions are set to "Read repository contents permission." Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 9553b1b commit 3a52588

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
release:
77
types: [ published ]
88

9+
permissions:
10+
contents: write
11+
912
env:
1013
BUNDLE_PREFIX: zephyr-sdk
1114

0 commit comments

Comments
 (0)