From c65b2dd92df221c6c190e325b81f2fcaed95b956 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 18 Nov 2026 11:46:53 -0800 Subject: [PATCH 1/2] Restrict NVSkills CI to the canonical repository Apply the repository guard to every existing event path. Copies of the workflow in other repositories skip the integration, while fork pull requests targeting NVIDIA/cuda-python retain the current behavior. --- .github/workflows/request-nvskills-ci.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/request-nvskills-ci.yml b/.github/workflows/request-nvskills-ci.yml index c61fcc8f16d3..5d813dd2a56e 100644 --- a/.github/workflows/request-nvskills-ci.yml +++ b/.github/workflows/request-nvskills-ci.yml @@ -14,13 +14,16 @@ on: jobs: request: if: > - github.event_name == 'pull_request' || - (github.event_name == 'issue_comment' && - github.event.issue.pull_request && - startsWith(github.event.comment.body, '/nvskills-ci')) || - (github.event_name == 'push' && - github.actor == (vars.NVSKILLS_SIGNATURE_PUSH_ACTOR || 'nv-skills-ci[bot]') && - startsWith(github.event.head_commit.message, vars.NVSKILLS_SIGNATURE_COMMIT_TITLE || 'Attach NVSkills validation signatures')) + github.repository == 'NVIDIA/cuda-python' && + ( + github.event_name == 'pull_request' || + (github.event_name == 'issue_comment' && + github.event.issue.pull_request && + startsWith(github.event.comment.body, '/nvskills-ci')) || + (github.event_name == 'push' && + github.actor == (vars.NVSKILLS_SIGNATURE_PUSH_ACTOR || 'nv-skills-ci[bot]') && + startsWith(github.event.head_commit.message, vars.NVSKILLS_SIGNATURE_COMMIT_TITLE || 'Attach NVSkills validation signatures')) + ) permissions: contents: read pull-requests: read From 4bfcf687be7ca597c5ff3c98e439956cee945e1d Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 18 Nov 2026 11:46:57 -0800 Subject: [PATCH 2/2] ci: require manual copy-pr-bot approval