From cdcb7f02ace677baa58387f8469652cbd3818902 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Tue, 1 Nov 2022 10:25:22 +0800 Subject: [PATCH] [action] Use pull_request_target trigger instead to avoid codeQL check approval (#12509) (#12541) Co-authored-by: Liu Shilong --- .github/workflows/codeql-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0a8f2dc586..6478fb99f7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -7,7 +7,7 @@ on: branches: - 'master' - '202[0-9][0-9][0-9]' - pull_request: + pull_request_target: branches: - 'master' - '202[0-9][0-9][0-9]'