Skip to content

Commit

Permalink
add permission to github action for commenting on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
maxeeem committed Jan 24, 2024
1 parent 8aafd07 commit 3185bb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-app-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

permissions:
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -56,7 +57,7 @@ jobs:
path: ./test-diff.html

- name: Comment PR with execution number
uses: thollander/actions-comment-pull-request@v2
uses: thollander/actions-comment-pull-request@v2.4.3
with:
message: |
_(execution **${{ github.run_id }}** / attempt **${{ github.run_attempt }}**)_
Expand Down

0 comments on commit 3185bb2

Please sign in to comment.