From 62ff9a1575e351a5168b349e28b3ef4dccde4591 Mon Sep 17 00:00:00 2001 From: jmeridth Date: Tue, 21 May 2024 11:21:11 -0500 Subject: [PATCH] chore: add pull_request_target for releases - [x] add pull_request_target to release GitHub Action so we have access to fork PR labels I am not worried about the security implications with us checking out the forked pull requests code. This action only fires after a merge to main so this means the pull request code has been reviewed by a maintainer. We are post-CI/code run. Signed-off-by: jmeridth --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a437cc9..47a6bbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,11 @@ - closed branches: - main + pull_request_target: + types: + - closed + branches: + - main permissions: contents: read