Skip to content

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

Merged
osm6495 merged 1 commit into
v4from
security/SEC-7924/pin-github-actions
Mar 24, 2026
Merged

chore: pin third-party GitHub Actions to commit SHAs#32
osm6495 merged 1 commit into
v4from
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: workflow-only changes that just pin existing third-party actions to fixed commit SHAs, reducing supply-chain exposure without changing pipeline logic.

Overview
Pins third-party actions used by CI workflows to immutable commit SHAs.

In check-go-versions.yml, JamesIves/fetch-api-data-action and peter-evans/create-pull-request are updated from version tags to specific SHAs (with inline version comments). In release-please.yml, googleapis/release-please-action is similarly pinned to a SHA.

Written by Cursor Bugbot for commit 5171b3a. 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:47
@osm6495 osm6495 merged commit 554e003 into v4 Mar 24, 2026
11 checks passed
@osm6495 osm6495 deleted the security/SEC-7924/pin-github-actions branch March 24, 2026 13: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.

2 participants