ci: add NVSkills request workflow#719
Conversation
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Review: PR #719 —
|
Greptile SummaryThis PR adds a new GitHub Actions workflow that enables NVSkills CI to be triggered from pull request comments (
|
| Filename | Overview |
|---|---|
| .github/workflows/request-nvskills-ci.yml | New workflow enabling /nvskills-ci PR comment trigger and bot-push signature handling; delegates entirely to NVIDIA/skills reusable workflow pinned at @main (mutable ref) |
Sequence Diagram
sequenceDiagram
participant User as PR Commenter
participant Bot as nv-skills-ci[bot]
participant GHA as GitHub Actions
participant NVS as NVIDIA/skills team-request.yml@main
User->>GHA: Comment /nvskills-ci on PR
GHA->>GHA: issue_comment trigger fires
GHA->>NVS: "uses team-request.yml@main with NVSKILLS_CI_DISPATCH_TOKEN"
Bot->>GHA: Push commit with signature message
GHA->>GHA: push trigger fires, actor+message match
GHA->>NVS: "uses team-request.yml@main with NVSKILLS_CI_DISPATCH_TOKEN"
NVS-->>GHA: Dispatches NVSkills CI jobs
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
.github/workflows/request-nvskills-ci.yml:20
**Mutable `@main` ref for reusable workflow**
The reusable workflow is pinned to `@main` rather than a specific commit SHA, so any change pushed to `NVIDIA/skills` main will take effect immediately in this repo without a review touchpoint. If the upstream workflow is inadvertently changed (or the repo is compromised), the `NVSKILLS_CI_DISPATCH_TOKEN` secret would be passed to the new version automatically. Pinning to a SHA (e.g. `NVIDIA/skills/.github/workflows/team-request.yml@<sha>`) with a periodic update process is the standard GitHub hardening recommendation for third-party reusable workflows.
Reviews (1): Last reviewed commit: "ci: add NVSkills request workflow" | Re-trigger Greptile
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| uses: NVIDIA/skills/.github/workflows/team-request.yml@main |
There was a problem hiding this comment.
Mutable
@main ref for reusable workflow
The reusable workflow is pinned to @main rather than a specific commit SHA, so any change pushed to NVIDIA/skills main will take effect immediately in this repo without a review touchpoint. If the upstream workflow is inadvertently changed (or the repo is compromised), the NVSKILLS_CI_DISPATCH_TOKEN secret would be passed to the new version automatically. Pinning to a SHA (e.g. NVIDIA/skills/.github/workflows/team-request.yml@<sha>) with a periodic update process is the standard GitHub hardening recommendation for third-party reusable workflows.
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/request-nvskills-ci.yml
Line: 20
Comment:
**Mutable `@main` ref for reusable workflow**
The reusable workflow is pinned to `@main` rather than a specific commit SHA, so any change pushed to `NVIDIA/skills` main will take effect immediately in this repo without a review touchpoint. If the upstream workflow is inadvertently changed (or the repo is compromised), the `NVSKILLS_CI_DISPATCH_TOKEN` secret would be passed to the new version automatically. Pinning to a SHA (e.g. `NVIDIA/skills/.github/workflows/team-request.yml@<sha>`) with a periodic update process is the standard GitHub hardening recommendation for third-party reusable workflows.
How can I resolve this? If you propose a fix, please make it concise.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
📋 Summary
Adds the NVSkills request workflow so maintainers can trigger NVSkills CI from pull request comments once this workflow exists on the default branch.
🔗 Related Issue
N/A
🔄 Changes
.github/workflows/request-nvskills-ci.ymlfromNVIDIA/skills./nvskills-cipull request comment requests and NVSkills signature push handling.🧪 Testing
make testpasses (N/A - workflow-only change)YAML.load_file✅ Checklist