Skip to content

Commit

Permalink
build: added write permissions for the release GHA
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Case <richard@weave.works>
  • Loading branch information
richardcase committed May 10, 2022
1 parent 1867591 commit a270bc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
run: make docker-push TAG=${{ env.TAG }}
release:
runs-on: ubuntu-latest
permissions:
contents: write
needs: [build]
steps:
- name: Checkout
Expand All @@ -46,7 +48,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
prerelease: false
draft: true
fail_on_unmatched_files: true
generate_release_notes: true
Expand Down

0 comments on commit a270bc1

Please sign in to comment.