Skip to content

Commit 40a9d07

Browse files
committed
ci: fix release creation permissions
Per https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token, `contents: write` is required to create new releases and upload artifacts.
1 parent b20f641 commit 40a9d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
build_assets:
4141
permissions:
4242
id-token: write
43-
contents: read
43+
contents: write
4444
attestations: write
4545

4646
needs: create_release

0 commit comments

Comments
 (0)