Skip to content

Commit a021996

Browse files
authored
fix: add contents write permission to release workflow (#32)
The github-actions[bot] user requires explicit write permissions to push git tags. Without this, the workflow fails with a 403 error when attempting to push tags.
1 parent 92e3a05 commit a021996

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
environment: Release
1616
if: github.ref == 'refs/heads/master'
17+
permissions:
18+
contents: write
1719

1820
steps:
1921
- name: Checkout code

0 commit comments

Comments
 (0)