Skip to content

chore: pin third-party GitHub Actions to commit SHAs#411

Merged
keelerm84 merged 2 commits intomainfrom
security/SEC-7924/pin-github-actions
Mar 24, 2026
Merged

chore: pin third-party GitHub Actions to commit SHAs#411
keelerm84 merged 2 commits intomainfrom
security/SEC-7924/pin-github-actions

Conversation

@pkaeding
Copy link
Contributor

@pkaeding pkaeding commented Mar 23, 2026

Summary

Pin all third-party GitHub Actions to full-length commit SHAs to prevent supply chain attacks.

Addresses findings from the third-party-action-not-pinned-to-commit-sha Semgrep rule.

Test plan

  • Verify CI passes with pinned action SHAs

Note

Low Risk
Low risk: workflow-only changes that pin action versions; main risk is CI/release breakage if a pinned SHA is incorrect or later removed.

Overview
Pins third-party GitHub Actions in manual-publish.yml and release-please.yml to specific commit SHAs (with version comments) instead of floating tags.

This includes pinning pypa/gh-action-pypi-publish, the SLSA provenance generator workflow, and googleapis/release-please-action, reducing supply-chain risk for release/publish pipelines.

Written by Cursor Bugbot for commit ecba454. This will update automatically on new commits. Configure here.

Pin all third-party GitHub Actions to full-length commit SHAs to prevent
supply chain attacks. Addresses findings from the
third-party-action-not-pinned-to-commit-sha Semgrep rule.
Co-authored-by: Matthew M. Keeler <keelerm84@gmail.com>
@keelerm84 keelerm84 merged commit 8116d20 into main Mar 24, 2026
15 checks passed
@keelerm84 keelerm84 deleted the security/SEC-7924/pin-github-actions branch March 24, 2026 18:50
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