Skip to content

Commit 3688c3b

Browse files
fix(ci): grant contents:write to Release job
The default GITHUB_TOKEN lacks contents:write, causing the softprops/action-gh-release step to 403. Add explicit permission to the Release job.
1 parent b4a64d3 commit 3688c3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ jobs:
144144
runs-on: ubuntu-latest
145145
needs: build-matrix
146146
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
147+
permissions:
148+
contents: write
147149
steps:
148150
- uses: actions/checkout@v4
149151
- name: Download all artifacts

0 commit comments

Comments
 (0)