Skip to content

Commit

Permalink
update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jul 30, 2024
1 parent 2f86cce commit dce77a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
permissions:
contents: write
actions: read
id-token: write
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -50,6 +50,8 @@ jobs:
- name: Comment on PR if commit check failed
if: env.commit_check_failed == '1'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr comment ${{ github.event.pull_request.number }} -b "Hi from your friendly robot! :robot: It looks like there might be commits to both release and non-release files in this PR. Please review and remove any commits that don't belong."
exit 1
Expand Down

0 comments on commit dce77a4

Please sign in to comment.