forked from NVIDIA/NemoClaw
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 1.3 KB
/
Copy pathrequest-nvskills-ci.yml
File metadata and controls
34 lines (30 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Forwards `/nvskills-ci` PR comments and signature push events to the central
# NVSkills CI service in NVIDIA/nvskills-ci. Adapted from
# templates/team-request-workflow.yml from NVIDIA/nvskills-ci@main.
#
# Onboarding reference: NVIDIA/nvskills-ci/docs/team-onboarding.md
# This file must remain CODEOWNERS-protected (see .github/CODEOWNERS).
#
# Required repository secret: NVSKILLS_CI_DISPATCH_TOKEN
name: Automation / Request NVSkills CI
on:
issue_comment:
types: [created]
push:
jobs:
request:
if: >
(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
uses: NVIDIA/skills/.github/workflows/team-request.yml@d6c3af084edd278e5524c95e6586fc763835eb62
secrets:
NVSKILLS_CI_DISPATCH_TOKEN: ${{ secrets.NVSKILLS_CI_DISPATCH_TOKEN }}