ci: pin all actions to full SHAs for the org pinning policy - #96
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
PR SummaryLow Risk Overview In semgrep, Reviewed by Cursor Bugbot for commit 9997816. Bugbot is set up for automated code reviews on this repo. Configure here. |
foundry-rs/setup-snfoundry's composite action calls software-mansion/setup-universal-sierra-compiler@v1 internally, unpinned, in every release, which the org pinning check rejects before checkout runs. Replace the setup-snfoundry step with a direct pinned setup step plus a manual binary install, matching starkware-libs/offmarket#1519. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The org now rejects any workflow action not pinned to a full-length commit SHA (
The action X is not allowed in starkware-libs/privacy-bridge because all actions must be pinned to a full-length commit SHA), and bothcairoandsemgrepare required status checks — so every PR was blocked. This repo'sci.ymlwas already fully pinned; the only offender wasactions/checkout@v4in.github/workflows/semgrep.yml:40, now pinned to the same SHA already used elsewhere in this repo foractions/checkout@v4(11d5960a326750d5838078e36cf38b85af677262 # v4). Same fix pattern as starkware-libs/offmarket#1519.🤖 Generated with Claude Code
This change is