You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pin GitHub Actions to full-length commit SHAs (#11786)
Our workflows reference third-party and first-party actions by mutable
tags (`actions/checkout@v7`, `pnpm/action-setup@v6`, …). A tag can be
repointed at any commit, so anyone who can move a tag in one of those
repos can silently run arbitrary code inside our CI — including on jobs
that hold write tokens.
Every `uses:` in `.github/` is now pinned to an immutable commit SHA,
with the human-readable version kept as a trailing comment:
```yaml
- uses: actions/checkout@3d3c42e # v7.0.1
```
All pinned SHAs were verified to resolve from the tag they claim, and no
unpinned `uses:` references remain.
Picks up the action-pinning portion of
#11730; the Dependabot
`github-actions` ecosystem entry is intentionally left out of this PR.
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
0 commit comments