Skip to content

docs(ci): pin the recipe's actions to commit SHAs - #618

Merged
chrisknvidia merged 2 commits into
mainfrom
devin/1794792686-ci-recipe-pin-actions
Nov 16, 2026
Merged

chrisknvidia merged 2 commits into
mainfrom
devin/1794792686-ci-recipe-pin-actions

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Part of #603 (point 2). Every uses: in this repository's .github/workflows/ is pinned to a commit SHA, but the copy-paste recipe in the CI guide used mutable tags. Each action is now pinned to the commit of a release, with the release in a comment:

Action Was Now
actions/checkout @v7 @9c091bb… (v7.0.0)
astral-sh/setup-uv @v8 @d31148d… (v8.3.0)
actions/upload-artifact @v7 @cf430e0… (v7.0.2)
github/codeql-action/upload-sarif @v4 @33d7b85… (v4.39.3)
actions/github-script @v9 @3a2844b… (v9.0.0)

The first three use the same SHAs as this repository's workflows. The other two are the latest releases of their current major (the repository's workflows don't use upload-sarif, and they use github-script v8). A short note under the recipe says how to update a pin.

The SkillSpector install stays at the v2.13.4 tag: test_skillspector_install_instructions_pin_one_release requires the same spec on every docs page, and the Gitleaks download is left to #604.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests (docs only)
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test (118 failed, 10 errors on this branch's main base on this machine, all Harbor, git and timing tests. This branch adds one, test_directory_mutation_after_scandir_snapshot_fails_closed, a timing test that also fails on main in 2 of 3 runs on its own. tests/test_oss_packaging.py and tests/reporting/test_reporters.py, which read this page, pass apart from the Harbor test that fails on main too.)
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Each SHA was checked against its release tag with gh api repos/<action>/commits/<tag>, and no uses: line in the page is left without a 40-character SHA.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

The repository's own workflows pin every action to a commit SHA, but the
copy-paste recipe in the CI guide used mutable tags. Pin each action to the
commit of its release, with the release in a comment.

Signed-off-by: Christopher Kevin <[email protected]>

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 1 potential issue.

Devin Review

@NVIDIA NVIDIA deleted a comment from devin-ai-integration Bot Nov 16, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Devin Review

Comment thread docs/ci-integration.mdx Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant