Skip to content

Commit

Permalink
Add PR write permissions to the comment bot
Browse files Browse the repository at this point in the history
This is required to post a comment after the latest changes in GH api.

Signed-off-by: Tomasz Gorochowik <[email protected]>
  • Loading branch information
tgorochowik committed Aug 6, 2024
1 parent 35513fc commit a74fcd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/comment-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
- name: Post comment
uses: KeisukeYamashita/create-comment@v1
permissions:
pull-requests: write
with:
number: ${{ steps.get-pr-number.outputs.num }}
check-only-first-line: "true"
Expand Down

0 comments on commit a74fcd3

Please sign in to comment.