Skip to content

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

Merged
pkaeding merged 2 commits into
mainfrom
security/SEC-7924/pin-github-actions
Mar 23, 2026
Merged

chore: pin third-party GitHub Actions to commit SHAs#105
pkaeding merged 2 commits into
mainfrom
security/SEC-7924/pin-github-actions

Conversation

@pkaeding

@pkaeding pkaeding commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

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 changes only pin existing third-party actions to specific commit SHAs to reduce supply-chain exposure, without altering build/test/release logic.

Overview
Pins previously version-tagged third-party GitHub Actions in CI/release workflows and composite actions to full commit SHAs (e.g., haskell-actions/*, googleapis/release-please-action, and slsa-framework/slsa-github-generator).

This hardens the pipeline against upstream action tag changes while keeping the existing CI, publishing, and provenance steps functionally the same.

Written by Cursor Bugbot for commit e442008. 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 23, 2026 16:05

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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.

Comment thread .github/workflows/release-please.yml
@pkaeding pkaeding requested a review from a team March 23, 2026 16:52
Pin the slsa-github-generator action to the same commit SHA
(5a775b367a56d5bd118a224a811bba288150a563) used in release-please.yml
to prevent supply chain attacks.

Co-authored-by: Patrick Kaeding <patrick@kaeding.name>
@pkaeding pkaeding merged commit 6a52e13 into main Mar 23, 2026
12 checks passed
@pkaeding pkaeding deleted the security/SEC-7924/pin-github-actions branch March 23, 2026 17:48
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.

3 participants