Skip to content

chore: pin GitHub Actions to commit SHAs#52

Merged
nunomaduro merged 2 commits into
4.xfrom
chore/pin-actions-to-sha-4.x
May 12, 2026
Merged

chore: pin GitHub Actions to commit SHAs#52
nunomaduro merged 2 commits into
4.xfrom
chore/pin-actions-to-sha-4.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@v4actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 (in .github/workflows/tests.yml)
  • actions/setup-node@v4actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 (in .github/workflows/tests.yml)
  • shivammathur/setup-php@v2shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f (in .github/workflows/tests.yml)
  • added .github/dependabot.yml (weekly grouped github-actions updates)

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 b1fb155 into 4.x May 12, 2026
3 of 5 checks passed
@nunomaduro nunomaduro deleted the chore/pin-actions-to-sha-4.x branch May 12, 2026 01:55
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