From d62e2060584cd8005fbd04661952dff0618a6920 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Fri, 6 Aug 2021 23:10:19 -0400 Subject: [PATCH] CI (Buildbot): for the "Create Pending Statuses" GitHub Actions workflow, use the `pull_request_target` event instead of the `pull_request` event (#41814) --- .github/workflows/statuses.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/statuses.yml b/.github/workflows/statuses.yml index 27422b4e69345..1c29288d4fe79 100644 --- a/.github/workflows/statuses.yml +++ b/.github/workflows/statuses.yml @@ -21,7 +21,7 @@ on: # When using the `pull_request_target` event, all PRs will get a `GITHUB_TOKEN` that has # write permissions, even if the PR is from a fork. # Therefore, for security reasons, we do not checkout any code in this workflow. - pull_request: + pull_request_target: branches: - 'master' - 'release-*'