Skip to content

security: pin GitHub Actions to commit SHAs (Sapper M1 #3)#18

Merged
Goosterhof merged 1 commit into
mainfrom
armorer/actions-sha-pinning
May 12, 2026
Merged

security: pin GitHub Actions to commit SHAs (Sapper M1 #3)#18
Goosterhof merged 1 commit into
mainfrom
armorer/actions-sha-pinning

Conversation

@Goosterhof
Copy link
Copy Markdown
Contributor

Summary

  • Pin 7 Action references across ci.yml and release.yml to commit SHAs
  • Preserve # v<MAJOR> comments for Dependabot's tag-tracker
  • No dependabot.yml change — weekly github-actions ecosystem already covers SHA bumps

Closes

Sapper M1 (2026-05-06) Finding #3 — supply-chain forward-compatibility before any Packagist OIDC adoption (per release.yml:7-9 TBD note).

Test plan

  • CI green on both PHP 8.4 and 8.5 legs
  • No drift in composer audit / composer format:check / composer phpstan / composer test:coverage / composer coverage:check / composer mutation:ci
  • First PR through new branch protection — verifies the check (8.4) and check (8.5) required-status-check names match

jasperboerhof
jasperboerhof previously approved these changes May 7, 2026
@Goosterhof Goosterhof force-pushed the armorer/actions-sha-pinning branch from 12bc42e to 6148609 Compare May 7, 2026 16:53
@Goosterhof Goosterhof force-pushed the armorer/actions-sha-pinning branch from 6148609 to 876e5ed Compare May 8, 2026 10:40
Pin actions/checkout@v6, shivammathur/setup-php@v2,
actions/upload-artifact@v7 to commit SHAs across ci.yml
and release.yml. Trailing `# v<MAJOR>` comments preserve
Dependabot tag-tracking; weekly github-actions schedule
in dependabot.yml unchanged.

upload-artifact bumped from v4 to v7 during rebase
(Dependabot PR #15 landed on main while this branch was open).

Closes supply-chain forward-compatibility gap noted in
Sapper M1 first-contact (2026-05-06).
@Goosterhof Goosterhof force-pushed the armorer/actions-sha-pinning branch from 876e5ed to 317da96 Compare May 12, 2026 19:07
@Goosterhof Goosterhof merged commit 5fa3e2a into main May 12, 2026
2 checks passed
@Goosterhof Goosterhof deleted the armorer/actions-sha-pinning branch May 12, 2026 19:10
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.

2 participants