Skip to content

ci: pin third-party actions to full commit SHAs - #1699

Open
ranjan1969x wants to merge 1 commit into
DistinctCodes:mainfrom
ranjan1969x:ci/pin-actions-commit-shas-1650
Open

ranjan1969x wants to merge 1 commit into
DistinctCodes:mainfrom
ranjan1969x:ci/pin-actions-commit-shas-1650

Conversation

@ranjan1969x

Copy link
Copy Markdown

Problem

Workflows in .github/workflows/ (CI.yaml, backend-ci.yml, frontend-ci.yml) referenced actions using mutable branches (dtolnay/rust-toolchain@master) or floating major tags (@v4, @v7). A force-pushed or compromised tag could run arbitrary code in pipelines that build deployable contracts and web applications.

Solution

Pinned all external GitHub Actions to immutable full commit SHAs with inline version comments across all workflows:

  • actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
  • dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
  • actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
  • actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
  • actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
  • actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1

Closes #1650

@vercel

vercel Bot commented Nov 3, 2026

Copy link
Copy Markdown

@ranjan1969x is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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 third-party GitHub Actions to commit SHAs instead of floating refs

1 participant