Skip to content

Commit a80cf6c

Browse files
committed
fix: grant contents:write permission to release workflow
The default GITHUB_TOKEN has read-only permissions unless a workflow explicitly requests write access, which caused electron-builder's --publish step to fail with 403 creating a GitHub Release.
1 parent a346671 commit a80cf6c

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)