Repository navigation
docs(ci): pin the recipe's actions to commit SHAs - #618
Merged
Merged
Conversation
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]>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 16, 2026 01:33
Signed-off-by: Christopher Kevin <[email protected]>
This was referenced Nov 16, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: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 usegithub-scriptv8). A short note under the recipe says how to update a pin.The SkillSpector install stays at the
v2.13.4tag:test_skillspector_install_instructions_pin_one_releaserequires the same spec on every docs page, and the Gitleaks download is left to #604.Verification
make lintmake test(118 failed, 10 errors on this branch'smainbase 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 onmainin 2 of 3 runs on its own.tests/test_oss_packaging.pyandtests/reporting/test_reporters.py, which read this page, pass apart from the Harbor test that fails onmaintoo.)make buildEach SHA was checked against its release tag with
gh api repos/<action>/commits/<tag>, and nouses:line in the page is left without a 40-character SHA.Release Impact
CHANGELOG.md