Skip to content

Commit

Permalink
Use pull_request_target event (#1181)
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 4a133b5 commit ab2e581
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ on:
paths-ignore:
- "CHANGELOG.md"
branches: [main]
pull_request:
# We use pull_request_target rather than pull_request
# because the latter does not let us comment on PR
# coming from a fork.
pull_request_target:
branches: [main]
schedule:
- cron: "0 11 * * 4"
Expand Down

0 comments on commit ab2e581

Please sign in to comment.