ci: pin all GH actions to SHA's#3623
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Pins GitHub Actions used across CI workflows to immutable commit SHAs (instead of moving tags) to reduce supply-chain risk and make Dependabot updates explicit/auditable.
Changes:
- Replaced
uses: <action>@<tag>withuses: <action>@<sha> # <tag>across workflow files. - Pinned tooling/setup actions for Rust, Go, Node, Docker, Codecov, stale bot, artifact upload/download, etc.
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/starknet-rust-tests.yml | Pins actions/checkout and Rust toolchain action to SHAs for starknet-rust integration tests. |
| .github/workflows/starknet-rs-tests.yml | Pins actions/checkout and Rust toolchain action to SHAs for starknet-rs integration tests. |
| .github/workflows/starknet-js-tests.yml | Pins actions/checkout and actions/setup-node to SHAs for starknet.js integration tests. |
| .github/workflows/starknet-go-tests.yml | Pins actions/checkout and actions/setup-go to SHAs for starknet.go integration tests. |
| .github/workflows/smoke-test.yaml | Pins app-token creation and checkout actions to SHAs for smoke tests workflow. |
| .github/workflows/rust-lint.yml | Pins checkout/toolchain/cache actions to SHAs for Rust linting workflow. |
| .github/workflows/release-published.yml | Pins Docker Buildx setup action to a SHA for release publication automation. |
| .github/workflows/prepare-draft-release.yml | Pins checkout, Buildx, and artifact download actions to SHAs for release preparation. |
| .github/workflows/juno-test.yml | Pins checkout, Go/Rust setup, cache, and Codecov upload actions to SHAs for main test workflow. |
| .github/workflows/juno-lint.yml | Pins checkout, Go setup, and golangci-lint action to SHAs. |
| .github/workflows/find-smallest-rust.yml | Pins checkout, MSRV detection, and github-script actions to SHAs. |
| .github/workflows/docs-test.yml | Pins checkout and Node setup actions to SHAs for docs build test. |
| .github/workflows/docs-deploy.yml | Pins checkout, Node setup, and gh-pages deploy action to SHAs. |
| .github/workflows/docker-image-build-push.yml | Pins checkout, Buildx, build/push actions to SHAs for image build/publish workflow. |
| .github/workflows/deploy-and-test.yaml | Pins checkout action to SHA in deploy/test pipeline (plus related pinned actions already present). |
| .github/workflows/close-stale.yml | Pins stale-action to a SHA for stale issue/PR automation. |
| .github/workflows/build-image.yaml | Pins checkout action to SHA for internal image build workflow. |
| .github/workflows/build-binaries.yml | Pins checkout, Go/Rust setup, cache, and artifact upload actions to SHAs. |
| .github/workflows/benchmark-sync.yaml | Pins checkout action to SHA for benchmark sync workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3623 +/- ##
==========================================
- Coverage 77.20% 75.94% -1.26%
==========================================
Files 387 387
Lines 34917 34917
==========================================
- Hits 26956 26517 -439
- Misses 6017 6539 +522
+ Partials 1944 1861 -83 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
rodrodros
approved these changes
May 11, 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.
To reduce changes of supply chain attacks, it's a good practice to pin GH Action versions to commit SHA, not a tag version. Dependabot is capable of updating these.
This PR updates all the occurrences where we still use versions directly.
The SHA's were produced via a simple script: