From 640d3915c1a2c76ce4ff6d0c2cf7868c6d2e4f4f Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sat, 21 Oct 2023 17:39:21 +0100 Subject: [PATCH] Make add to project workflow work on PRs (#753) Fix the add to project workflow so that it works on PRs from forks, securely by running it in the context of the target. --- .github/workflows/add-to-project.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 556672e9f..773a52b8b 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -4,6 +4,9 @@ on: issues: types: - opened + pull_request_target: + types: + - opened jobs: add-to-project: