Description
All workflows reference actions by floating major-version tags (actions/checkout@v4, chromaui/action@latest). chromaui/action@latest in particular is a supply-chain risk — it always pulls whatever the action publisher pushes as latest, with no review step on this repo's side. Pinning to SHAs is a standard hardening practice, especially given this repo signs transactions and handles wallet connections.
Requirements and context
- Replace every
uses: owner/action@vX (and especially @latest) with a pinned commit SHA, keeping a version comment for readability
- Prioritize
chromaui/action@latest first as the highest-risk instance
- Add a note in
docs/ci-cd.md about the policy and how to update pinned SHAs when bumping action versions
Suggested execution
git checkout -b ci/pin-actions-to-sha
- Pin all
uses: references across all 8 workflow files
- Document the update procedure
Example commit message
ci: pin GitHub Actions to commit SHAs for supply-chain hardening
Description
All workflows reference actions by floating major-version tags (
actions/checkout@v4,chromaui/action@latest).chromaui/action@latestin particular is a supply-chain risk — it always pulls whatever the action publisher pushes as latest, with no review step on this repo's side. Pinning to SHAs is a standard hardening practice, especially given this repo signs transactions and handles wallet connections.Requirements and context
uses: owner/action@vX(and especially@latest) with a pinned commit SHA, keeping a version comment for readabilitychromaui/action@latestfirst as the highest-risk instancedocs/ci-cd.mdabout the policy and how to update pinned SHAs when bumping action versionsSuggested execution
uses:references across all 8 workflow filesExample commit message
ci: pin GitHub Actions to commit SHAs for supply-chain hardening