Skip to content

Commit

Permalink
Ensure action has permission to write to GH release
Browse files Browse the repository at this point in the history
Signed-off-by: Dom Del Nano <[email protected]>
  • Loading branch information
ddelnano committed Dec 5, 2024
1 parent a76a14b commit 6158fe9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ jobs:
plugincheck2 ${{ steps.metadata.outputs.archive }}
- name: Create release
id: create_release
permissions:
contents: write
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -127,6 +129,8 @@ jobs:
- name: Add plugin to release
id: upload-plugin-asset
uses: actions/upload-release-asset@v1
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -138,6 +142,8 @@ jobs:
- name: Add checksum to release
id: upload-checksum-asset
uses: actions/upload-release-asset@v1
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit 6158fe9

Please sign in to comment.