Skip to content

Commit

Permalink
chore: add contents:write permission to release workflow (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo authored Jan 9, 2025
1 parent 9a32c76 commit ee5bb0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
needs:
- tests
- verify-tag
permissions:
contents: write # This is required to create GH releases.
steps:
- uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release_on_version_change.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
needs:
- version
uses: ./.github/workflows/release.yaml
permissions:
contents: write # This is required to create GH releases.
with:
tag: ${{ needs.version.outputs.version }}
latest: ${{ needs.version.outputs.latest == 'true' }}

0 comments on commit ee5bb0c

Please sign in to comment.