Skip to content

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

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

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

Conversation

@pkaeding
Copy link
Copy Markdown
Contributor

@pkaeding pkaeding commented Mar 24, 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: this only pins external GitHub Actions to specific commit SHAs; the main risk is CI behavior changing if the pinned revisions differ from the previously floating tags.

Overview
Pins third-party GitHub Actions to immutable commit SHAs for supply-chain hardening.

Updates ruby/setup-ruby in the composite setup action and googleapis/release-please-action in the release workflow to use full commit hashes (with version comments) instead of floating version tags.

Written by Cursor Bugbot for commit 7f70e34. 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.
@pkaeding pkaeding requested a review from a team as a code owner March 24, 2026 01:46
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Co-authored-by: Matthew M. Keeler <keelerm84@gmail.com>
@keelerm84 keelerm84 merged commit e7a00bb into main Mar 24, 2026
10 checks passed
@keelerm84 keelerm84 deleted the security/SEC-7924/pin-github-actions branch March 24, 2026 18:51
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