Skip to content

Commit

Permalink
Add permissions to job
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-har committed Jul 18, 2024
1 parent 68de2e1 commit 99d459b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
run: ct install
release:
runs-on: ubuntu-latest
permissions:
contents: write # needed to write releases
pull-requests: read # needed for changelog
needs: lint
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
steps:
Expand Down

0 comments on commit 99d459b

Please sign in to comment.