Skip to content

Harden GitHub Actions workflows - #47

Merged
rockwellll merged 1 commit into
mainfrom
codex/pin-github-actions
Jul 24, 2026
Merged

Harden GitHub Actions workflows#47
rockwellll merged 1 commit into
mainfrom
codex/pin-github-actions

Conversation

@rockwellll

Copy link
Copy Markdown
Collaborator

Summary

  • pin shivammathur/setup-php and softprops/action-gh-release to immutable commit SHAs
  • standardize checkout steps on actions/checkout@v7
  • disable checkout credential persistence in every workflow job

Why

Mutable third-party action tags create a supply-chain risk if an upstream tag is compromised or moved. Checkout also stores the default GITHUB_TOKEN in local Git configuration unless credential persistence is explicitly disabled; these workflows do not perform authenticated Git pushes and do not need that credential retained.

@rockwellll
rockwellll merged commit bc3cabb into main Jul 24, 2026
7 checks passed
@rockwellll
rockwellll deleted the codex/pin-github-actions branch July 24, 2026 22:43
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.

1 participant