Skip to content

Commit

Permalink
Use pull_request_target event (#1182)
Browse files Browse the repository at this point in the history
rather than pull_request to make the comments work on PR

https://github.com/marketplace/actions/comment-pull-request
  • Loading branch information
mwouts authored Dec 2, 2023
1 parent ab2e581 commit 40643de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/step_comment-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
comment-pr:
runs-on: ubuntu-latest
name: Comment PR
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request_target'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 40643de

Please sign in to comment.