Skip to content

Commit

Permalink
Use explicit write permission to create a release
Browse files Browse the repository at this point in the history
  • Loading branch information
machv committed Feb 6, 2024
1 parent d1ae68f commit 3b1457d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
name: Create release
if: "!contains(github.event.head_commit.message, '[no release]')"
runs-on: self-hosted
permissions:
# needed to create a release
contents: write
needs: new-version
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 3b1457d

Please sign in to comment.