Skip to content

Pin GitHub Actions to commit SHAs instead of floating tags #461

Description

@Marvell69

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

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions