Skip to content

Commit

Permalink
GHA release workflow: fix permissions (#8)
Browse files Browse the repository at this point in the history
Our new repo does not give write permissions by default. This is a good thing.
  • Loading branch information
richvdh authored Jul 13, 2023
1 parent 43f9f21 commit af6bd3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ jobs:
access: public
token: ${{ secrets.NPM_TOKEN }}

github-release:
name: Create the Github release
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Create the Github release
uses: softprops/action-gh-release@v1
with:
draft: true
files: pkg/matrix-org-matrix-sdk-crypto-js-*.tgz

0 comments on commit af6bd3c

Please sign in to comment.