From 94976ab36de9fd489806641b38778c8a27eb36ed Mon Sep 17 00:00:00 2001 From: igutierrez Date: Tue, 17 Nov 2026 12:19:55 -0600 Subject: [PATCH] Add the NVSkills CI request workflow /nvskills-ci is an issue_comment trigger, so GitHub runs it from the copy of this workflow on main, never from a pull request's. #82 adds this file beside the skill changes it is meant to sign, so the first /nvskills-ci on #82 cannot start until the file is on main. This lands it on its own, byte for byte as #82 carries it. Co-Authored-By: Claude Opus 5.5 Signed-off-by: igutierrez --- .github/workflows/request-nvskills-ci.yml | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/request-nvskills-ci.yml diff --git a/.github/workflows/request-nvskills-ci.yml b/.github/workflows/request-nvskills-ci.yml new file mode 100644 index 000000000..7acd83fac --- /dev/null +++ b/.github/workflows/request-nvskills-ci.yml @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +# NVSkills CI evaluates and signs changes under skills/. The NVIDIA skills +# catalog (github.com/NVIDIA/skills) syncs these skills from main every hour, +# and accepts only files that match the signature (skill.oms.sig) NVSkills CI +# writes into the PR. This is the catalog's request workflow, unchanged except +# that it is pinned to a SHA like every other action here. When the catalog +# changes the template, re-pin to its current main. +# +# A maintainer or admin comments `/nvskills-ci` on a PR to start a run. It needs +# the NVSKILLS_CI_DISPATCH_TOKEN secret. A PR that does not touch skills/ skips +# it. +name: Request NVSkills CI + +on: + issue_comment: + types: [created] + pull_request: + types: [opened, reopened, synchronize, ready_for_review] + push: + +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')) + permissions: + contents: read + pull-requests: read + statuses: read + uses: NVIDIA/skills/.github/workflows/team-request.yml@b707bbe61ff1026dd59a44140610f92c8eae1151 # main, 2026-11-06 + secrets: + NVSKILLS_CI_DISPATCH_TOKEN: ${{ secrets.NVSKILLS_CI_DISPATCH_TOKEN }}