Skip to content

security: pin GitHub Actions to commit SHAs#110

Merged
sebrandon1 merged 1 commit into
mainfrom
security/pin-actions-sha
Jul 17, 2026
Merged

security: pin GitHub Actions to commit SHAs#110
sebrandon1 merged 1 commit into
mainfrom
security/pin-actions-sha

Conversation

@sebrandon1

Copy link
Copy Markdown
Contributor

Summary

  • Pin all GitHub Actions references to immutable commit SHAs across action.yml and all workflow files
  • Prevents a compromised tag from injecting code into pipelines
  • Each pin includes a version comment for readability (e.g., @9c091bb... # v7)
  • Follows existing pattern from mfinelli/setup-shfmt in pre-main.yml

Actions pinned

  • actions/checkout@v7 (8 references)
  • actions/cache/restore@v6 and actions/cache/save@v6 (2 references)
  • palmsoftware/quick-cleanup@v0 (1 reference)
  • palmsoftware/redhat-status@v0 (4 references)

Closes #89

Test plan

  • make lint passes
  • CI integration tests pass with SHA-pinned actions

Pin all action references to immutable commit SHAs to prevent a
compromised tag from injecting code into pipelines. Each pin includes
a version comment for readability.

Closes #89
@sebrandon1
sebrandon1 merged commit 40e793c into main Jul 17, 2026
17 checks passed
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.

Pin GitHub Actions to commit SHAs in action.yml

1 participant