From 09f0e863e005d186d41a9b093e78e0a5fae6a258 Mon Sep 17 00:00:00 2001 From: Marc Wouts Date: Sat, 2 Dec 2023 12:05:01 +0000 Subject: [PATCH] Use pull_request_target event rather than pull_request to make the comments work on PR https://github.com/marketplace/actions/comment-pull-request --- .github/workflows/step_comment-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/step_comment-pr.yml b/.github/workflows/step_comment-pr.yml index 38d06b57..b3d8a52a 100644 --- a/.github/workflows/step_comment-pr.yml +++ b/.github/workflows/step_comment-pr.yml @@ -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