Skip to content

Commit 778c3c8

Browse files
committed
fix(ci): add contents:write permission to release workflow
Add permissions block to grant GITHUB_TOKEN write access to contents, fixing 403 Forbidden error when creating GitHub releases. Signed-off-by: ShigrafS <shigrafsalik@proton.me>
1 parent b1f4579 commit 778c3c8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
release:
1013
runs-on: windows-latest

0 commit comments

Comments
 (0)