Skip to content

ci: pin third-party GitHub Actions to immutable commit SHAs - #3294

Open
loulanyue wants to merge 1 commit into
ultraworkers:mainfrom
loulanyue:fix/3287-pin-ci-actions-to-sha
Open

ci: pin third-party GitHub Actions to immutable commit SHAs#3294
loulanyue wants to merge 1 commit into
ultraworkers:mainfrom
loulanyue:fix/3287-pin-ci-actions-to-sha

Conversation

@loulanyue

Copy link
Copy Markdown

Summary

Pins third-party GitHub Actions across all CI workflows to immutable commit SHAs.

Fixes #3287

Changes

Updated .github/workflows/release.yml, .github/workflows/rust-ci.yml, and .github/workflows/rust.yml to replace floating @vN action references with immutable full commit hashes while preserving the human-readable version comment:

  • actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
  • actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
  • actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
  • dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
  • Swatinem/rust-cache@400e7407cfd7a091e5fbb6afec01ec146c432b7c # v2.7.7
  • softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1

Verification

Passed doc source-of-truth and release readiness checks locally.

Defend CI against floating tag mutations and supply-chain tampering
by pinning actions to immutable commit hashes with release tag comments.

Fixes ultraworkers#3287
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.

Pin all third-party GitHub Actions to immutable commit SHAs across CI workflows

1 participant