Skip to content

fix: pin all GitHub Actions to immutable commit SHAs#211

Merged
felipefreitag merged 1 commit intomainfrom
fix/pin-workflow-actions-to-sha-3ced
Apr 9, 2026
Merged

fix: pin all GitHub Actions to immutable commit SHAs#211
felipefreitag merged 1 commit intomainfrom
fix/pin-workflow-actions-to-sha-3ced

Conversation

@bukinoshita
Copy link
Copy Markdown
Member

@bukinoshita bukinoshita commented Apr 9, 2026

Summary by cubic

Pinned all GitHub Actions in our workflows to immutable commit SHAs to prevent supply-chain attacks via retargeted tags and secure the CI/release pipeline. Addresses BU-661.

  • Dependencies
    • Pinned actions/checkout, actions/setup-node, pnpm/action-setup, docker/setup-qemu-action, actions/upload-artifact, actions/download-artifact, softprops/action-gh-release across 12 workflows.
    • Added inline version comments for clarity.

Written for commit 96f4c2d. Summary will update on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 12 files

@cursor cursor Bot changed the title security: pin all GitHub Actions to immutable commit SHAs fix: pin all GitHub Actions to immutable commit SHAs Apr 9, 2026
Pin every third-party and GitHub-hosted action reference across all
workflow files to full-length commit SHAs instead of mutable version
tags. This prevents supply-chain attacks where an upstream tag could
be retargeted to inject malicious code into the CI/release pipeline.

Actions pinned:
- actions/checkout@v6 -> de0fac2e4500dabe0009e67214ff5f5447ce83dd
- actions/setup-node@v6 -> 53b83947a5a98c8d113130e565377fae1a50d02f
- pnpm/action-setup@v5 -> a8198c4bff370c8506180b035930dea56dbd5288
- docker/setup-qemu-action@v4 -> ce360397dd3f832beb865e1373c09c0e9f86d70a
- actions/upload-artifact@v7 -> bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
- actions/download-artifact@v8 -> 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
- softprops/action-gh-release@v2 -> 153bb8e04406b158c6c84fc1615b65b24149a1fe

Resolves BU-661

Co-authored-by: Bu Kinoshita <bukinoshita@users.noreply.github.com>
@felipefreitag felipefreitag force-pushed the fix/pin-workflow-actions-to-sha-3ced branch from 96f4c2d to da0cbab Compare April 9, 2026 18:11
@felipefreitag felipefreitag merged commit c703158 into main Apr 9, 2026
16 checks passed
@felipefreitag felipefreitag deleted the fix/pin-workflow-actions-to-sha-3ced branch April 9, 2026 18:17
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.

3 participants