From 6ca4fdf4a40da44f9ff2e4fa4e7b11359b197408 Mon Sep 17 00:00:00 2001 From: elisabeth04 Date: Thu, 20 Jun 2024 23:28:44 +0800 Subject: [PATCH] bug solved: github.event_name should be 'pull_request_target' instead of 'pull_request' --- .github/workflows/link-to-checklist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/link-to-checklist.yml b/.github/workflows/link-to-checklist.yml index 54ff7f35b9..58d113b9b6 100644 --- a/.github/workflows/link-to-checklist.yml +++ b/.github/workflows/link-to-checklist.yml @@ -7,7 +7,7 @@ on: jobs: add-review-checklist: - # if : ${{ github.event_name == 'pull_request' && github.event.action == 'opened' && startsWith(github.event.pull_request.title, 'ingestion') == true}} + if : ${{ github.event_name == 'pull_request_target' && github.event.action == 'opened' && startsWith(github.event.pull_request.title, 'ingestion') == true}} runs-on: ubuntu-latest steps: - name: Check out repository