Skip to content

chore: pin GitHub Actions to commit SHAs - #523

Merged
nunomaduro merged 1 commit into
7.xfrom
chore/pin-actions-to-sha-7.x
May 13, 2026
Merged

chore: pin GitHub Actions to commit SHAs#523
nunomaduro merged 1 commit into
7.xfrom
chore/pin-actions-to-sha-7.x

Conversation

@nunomaduro

Copy link
Copy Markdown
Member

Pins every uses: reference in this repo's GitHub Actions workflows to a
commit SHA, preserving the original tag as an inline comment so Dependabot can
keep bumping it.

Rewrites:

  • actions/checkout@v2actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 (in .github/workflows/ci.yml)
  • actions/cache@v2actions/cache@8492260343ad570701412c2f464a5877dc76bace (in .github/workflows/ci.yml)
  • shivammathur/setup-php@v2shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f (in .github/workflows/ci.yml)

This mitigates supply-chain risk from compromised action tag/branch refs and
makes future Dependabot PRs update the SHA in place (rather than only bumping
tags).

@nunomaduro
nunomaduro merged commit 0f4b0bb into 7.x May 13, 2026
3 of 12 checks passed
@nunomaduro
nunomaduro deleted the chore/pin-actions-to-sha-7.x branch May 13, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant