Merged
Conversation
Use dist's github-action-commits config to pin actions/checkout, actions/upload-artifact, and actions/download-artifact to specific commit SHAs, satisfying the security policy requirement. Also upgrades cargo-dist-version from 0.30.3 to 0.31.0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- actions/checkout: v4.3.1 → v6.0.2 - actions/cache: v4.3.0 → v5.0.4 - actions/setup-node: v4.4.0 → v6.3.0 - Remove erroneous `environment: release` from release-npm.yml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lwshang
approved these changes
Apr 9, 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.
Pin GitHub Actions to commit SHAs
GitHub Actions referenced by tag (e.g. `actions/checkout@v4`) use a mutable pointer — the tag owner can move it to a different commit at any time. Pinning to a full 40-character commit SHA makes the reference immutable, with a `# vX.Y.Z` comment preserving human readability.
Pinned actions
actions/checkoutde0fac2e4500dabe0009e67214ff5f5447ce83ddactions/upload-artifactb7c566a772e6b6bfb58ed0dc250532a479d7789factions/download-artifact37930b1c2abaa49bbe596cd826c3c89aef350131actions/cache668228422ae6a00e4ad889ee87cd7109ec5666a7actions/setup-node53b83947a5a98c8d113130e565377fae1a50d02frust-lang/crates-io-auth-actionb7e9a28eded4986ec6b1fa40eeee8f8f165559ecdfinity/setup-dfxe50c04f104ee4285ec010f10609483cf41e4d365dist-generated
release.ymlrelease.ymlis auto-generated by cargo-dist and must not be edited manually — it will be overwritten on the nextdist generaterun. To keep the pinned SHAs across regenerations, the action-to-SHA mapping is declared indist-workspace.tomlunder[dist.github-action-commits]. Runningdist generatewill always producerelease.ymlwith the hashes specified there.Other fixes
environment: releasefromrelease-npm.yml(the environment did not exist in the repo, and its presence would have altered the OIDC token subject claim, breaking npm trusted publishing)