From 8c0304ece883d9adc77b3f1c9445cf057aa8b50a Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Fri, 16 Jul 2021 14:02:44 -0700 Subject: [PATCH] Use pull request target trigger for tagging cleanup --- .github/workflows/tag_module_cleanup.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag_module_cleanup.yml b/.github/workflows/tag_module_cleanup.yml index 2b14426ad..94e7ec692 100644 --- a/.github/workflows/tag_module_cleanup.yml +++ b/.github/workflows/tag_module_cleanup.yml @@ -4,8 +4,9 @@ name: Tag module cleanup # Trigger on pull requests against goog_module branch only +# Uses pull_request_target to get write permissions so that it can write labels. on: - pull_request: + pull_request_target: branches: - goog_module