Conversation
The fg-labs org enforces a policy that all GitHub Actions must be pinned
to a full-length commit SHA. This blocked the publish.yml run on the
chore: release v0.1.0 merge:
The actions actions/checkout@v4, dtolnay/rust-toolchain@stable, and
release-plz/action@v0.5 are not allowed in fg-labs/fg-sra because
all actions must be pinned to a full-length commit SHA.
Pins all actions in ci.yml and publish.yml to full SHAs with a version
comment, matching the pattern used by other fg-labs crates. Also adapts
taiki-e/install-action usage from tool-as-ref (`@nextest`) to
the pinned+`tool:` input form.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughGitHub Actions dependencies in CI and publish workflows are pinned to specific commit SHAs instead of tag-based versions for improved reproducibility and supply chain security. The CI workflow additionally refactors the taiki-e/install-action usage to employ explicit tool inputs. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
publish.ymlrun (on thechore: release v0.1.0merge) failed at Set up job with:ci.ymlandpublish.ymlto a full-length SHA with an inline version comment, matching the pattern used by other fg-labs crates (refget-rs, rust-yara).taiki-e/install-actionfrom the tool-as-ref form (@nextest,@cargo-llvm-cov) to a pinned@<sha>+with: tool: …form, which is the only way to pin that action by SHA.Unblocks the
v0.1.0release: once this lands, the next push tomainwill letpublish.ymlsuccessfully create thev0.1.0tag and GitHub release.Test plan
Check and Test) passes on this PR with all newly pinned actionspublish.ymlruns successfully onmainand creates thev0.1.0tag and GitHub releaseSummary by CodeRabbit