Skip to content

Commit

Permalink
Add contents write permission to create release
Browse files Browse the repository at this point in the history
Cherrypick obs-plugintemplate 8649be05
A GitHub Actions job has read-only permission by default and it cannot
create releases without configurations. Adding the contents write
permission enables the make-release job to create a release.
  • Loading branch information
paulpv committed Feb 28, 2023
1 parent b202b13 commit 4f4b48f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ jobs:
defaults:
run:
shell: bash
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 4f4b48f

Please sign in to comment.