Skip to content

Commit

Permalink
chore: Adding top and job level permissions to auto-release workflow (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan0102 committed Mar 30, 2023
1 parent 24aac14 commit 0927835
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/auto-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
on:
pull_request:
name: auto-release
permissions:
contents: read
jobs:
permissions: write-all
approve:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'release-please')
Expand Down

0 comments on commit 0927835

Please sign in to comment.