style #1976
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # Triggered when a maintainer/admin comments `/nvskills-ci` on a PR | |
| # touching skills/. The bot pushes a signature commit that must remain | |
| # in the PR before merge. Fork-based PRs are not supported. | |
| name: Request NVSkills CI | |
| on: | |
| issue_comment: | |
| types: [created] | |
| push: | |
| jobs: | |
| request: | |
| if: > | |
| (github.event_name == 'issue_comment' && | |
| github.event.issue.pull_request && | |
| contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association) && | |
| startsWith(github.event.comment.body, '/nvskills-ci')) || | |
| (github.event_name == 'push' && | |
| github.actor == (vars.NVSKILLS_SIGNATURE_PUSH_ACTOR || 'nv-nvskill-ci[bot]') && | |
| startsWith(github.event.head_commit.message, vars.NVSKILLS_SIGNATURE_COMMIT_TITLE || 'Attach NVSkills validation signatures')) | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| uses: NVIDIA/skills/.github/workflows/team-request.yml@main | |
| secrets: | |
| NVSKILLS_CI_DISPATCH_TOKEN: ${{ secrets.NVSKILLS_CI_DISPATCH_TOKEN }} |