From b8896c226092897331122defecf6e9682fa4b7eb Mon Sep 17 00:00:00 2001 From: Jon Church Date: Wed, 6 Nov 2024 09:53:29 -0500 Subject: [PATCH] switch back to pull_request trigger for security, add comment --- .github/workflows/adr-labeler.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/adr-labeler.yml b/.github/workflows/adr-labeler.yml index a00623e..2b68be8 100644 --- a/.github/workflows/adr-labeler.yml +++ b/.github/workflows/adr-labeler.yml @@ -1,7 +1,8 @@ name: ADR Labeler on: - pull_request_target: + # PRs coming from forks will not have the write permissions required to run this action + pull_request: types: [opened, synchronize] paths: - 'docs/adr/**'