Skip to content

Commit

Permalink
added actions permission to create release (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidius20 committed Jan 29, 2024
1 parent 79fd6bb commit 6d98b1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
# required: true
# default: 'patch'

permissions:
contents: write


jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -49,7 +53,7 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN release token create }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
Expand Down

0 comments on commit 6d98b1f

Please sign in to comment.