From ab4a9a82734a123415fcfaaaafbab62749ce4d7c Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Fri, 25 Sep 2026 08:08:37 -0500 Subject: [PATCH] ci: add fork pull requests to the project from base context --- .github/workflows/add-to-project.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 93b7c78b6a..e289d6c5c1 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -3,8 +3,13 @@ name: Add Issue/PR to Project on: issues: types: [opened] - pull_request: - types: [opened] + # Use the base repository's workflow and secret for fork PR metadata. + # Do not check out or execute pull request code in this workflow. + pull_request_target: + types: [opened, reopened] + +# Project access comes from PROJECT_PAT; the default token needs no permissions. +permissions: {} jobs: add_to_project: