aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/add-to-project.yml
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-10-21 17:39:21 +0100
committerGitHub <noreply@github.com>2023-10-21 18:39:21 +0200
commit640d3915c1a2c76ce4ff6d0c2cf7868c6d2e4f4f (patch)
treedf7dedd256e36db8161ac475f72017fbc0516c5d /.github/workflows/add-to-project.yml
parentd84d875347b54e87dfada23f516f89cf507be610 (diff)
downloadNorthstarMods-640d3915c1a2c76ce4ff6d0c2cf7868c6d2e4f4f.tar.gz
NorthstarMods-640d3915c1a2c76ce4ff6d0c2cf7868c6d2e4f4f.zip
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.
Diffstat (limited to '.github/workflows/add-to-project.yml')
-rw-r--r--.github/workflows/add-to-project.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml
index 556672e9..773a52b8 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: