Skip to content

ci: pin GitHub Actions to commit SHA#14872

Open
sobhe-Starkware wants to merge 2 commits into
mainfrom
pin-github-actions-to-sha
Open

ci: pin GitHub Actions to commit SHA#14872
sobhe-Starkware wants to merge 2 commits into
mainfrom
pin-github-actions-to-sha

Conversation

@sobhe-Starkware

Copy link
Copy Markdown
Collaborator

No description provided.

@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Mechanical reference pinning with no application or CI behavior changes; standard hardening for workflows that already use the same action versions.

Overview
Pins third-party uses: references across CI workflows from mutable version tags (e.g. @v6, @v2) to immutable full commit SHAs, with inline comments preserving the original tag for readability.

Coverage spans the main CI surface: checkout/setup-python, Graphite CI optimizer, Google Cloud auth/upload/setup-gcloud, Docker build/login/metadata, artifact upload/download, merge-gatekeeper, stale/lock maintenance, k3d/foundry tooling, Slack notifications, and Starkware-specific comment/benchmark actions. Papyrus workflows pin to the actions/checkout@v4 SHA where those files still use v4.

No workflow logic, job graphs, or step inputs change—only how action versions are resolved at runtime, reducing risk of tag-moving supply-chain attacks.

Reviewed by Cursor Bugbot for commit 3592229. Bugbot is set up for automated code reviews on this repo. Configure here.

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

Artifacts upload workflows:

@sobhe-Starkware sobhe-Starkware changed the title pin GitHub Actions to commit SHA ci: pin GitHub Actions to commit SHA Jul 23, 2026
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.

2 participants