From 16c24618917f8becd0360cb97cdf5dcf278e0f97 Mon Sep 17 00:00:00 2001 From: Jens Meisner Date: Thu, 12 Nov 2026 15:07:22 +0100 Subject: [PATCH 1/2] ci: Run the QA gate on pull_request instead of pull_request_target GitHub will block pull_request_target on public repositories by default from December 2, 2026. Switch the QA gate's trigger to pull_request. - Trigger on pull_request (labeled/unlabeled, branch main). - Update the comments: fork PRs get no secrets under pull_request, and the gate still skips fork PRs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/qa-gate.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qa-gate.yml b/.github/workflows/qa-gate.yml index 896fdd9178..93ae66fbc7 100644 --- a/.github/workflows/qa-gate.yml +++ b/.github/workflows/qa-gate.yml @@ -1,7 +1,10 @@ name: "QA-Gate" +# pull_request rather than pull_request_target: the gate builds and tests the PR code, +# which must not run with secrets for fork PRs. GitHub withholds secrets from fork PRs +# for pull_request and blocks pull_request_target on public repositories by default. on: - pull_request_target: + pull_request: types: [labeled, unlabeled] branches: - main @@ -22,7 +25,7 @@ jobs: name: Check Queue Position runs-on: ubuntu-latest # Trigger when 'approved' is added OR when 'qa-failed' is removed. - # Never for fork PRs: pull_request_target would run their code with this repo's secrets. + # Never for fork PRs: they get no secrets, so the integration could not succeed. if: >- github.event.pull_request.head.repo.full_name == github.repository && ((github.event.action == 'labeled' && github.event.label.name == 'approved') || From 55643fd28285e575ea28eb1d9cf5d6020c0dc064 Mon Sep 17 00:00:00 2001 From: Jens Meisner Date: Thu, 12 Nov 2026 15:55:56 +0100 Subject: [PATCH 2/2] added changeset --- .changeset/quiet-ears-juggle.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changeset/quiet-ears-juggle.md diff --git a/.changeset/quiet-ears-juggle.md b/.changeset/quiet-ears-juggle.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/quiet-ears-juggle.md @@ -0,0 +1,2 @@ +--- +---