Skip to content

Commit 0a5e916

Browse files
committed
ci: add NVSkills request workflow
1 parent b6cd817 commit 0a5e916

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Request NVSkills CI
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
push:
7+
8+
jobs:
9+
request:
10+
if: >
11+
(github.event_name == 'issue_comment' &&
12+
github.event.issue.pull_request &&
13+
startsWith(github.event.comment.body, '/nvskills-ci')) ||
14+
(github.event_name == 'push' &&
15+
github.actor == (vars.NVSKILLS_SIGNATURE_PUSH_ACTOR || 'nv-skills-ci[bot]') &&
16+
startsWith(github.event.head_commit.message, vars.NVSKILLS_SIGNATURE_COMMIT_TITLE || 'Attach NVSkills validation signatures'))
17+
permissions:
18+
contents: read
19+
pull-requests: read
20+
uses: NVIDIA/skills/.github/workflows/team-request.yml@main
21+
secrets:
22+
NVSKILLS_CI_DISPATCH_TOKEN: ${{ secrets.NVSKILLS_CI_DISPATCH_TOKEN }}

0 commit comments

Comments
 (0)