From fbd1339e2adb7cccc783f2db963ef6a6b1f30dd0 Mon Sep 17 00:00:00 2001 From: Evan Bradley Date: Thu, 10 Nov 2022 04:25:47 -0500 Subject: [PATCH] [chore] Use `pull_request_target` event to trigger "add codeowners" workflow (#16228) Use `pull_request_target` event to trigger "add codeowners to PR" workflow Co-authored-by: Evan Bradley --- .github/workflows/add-codeowners-to-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-codeowners-to-pr.yml b/.github/workflows/add-codeowners-to-pr.yml index 7e4580377876..237734737902 100644 --- a/.github/workflows/add-codeowners-to-pr.yml +++ b/.github/workflows/add-codeowners-to-pr.yml @@ -1,6 +1,6 @@ name: 'Add code owners to a PR' on: - pull_request: + pull_request_target: types: - opened - synchronize