Skip to content

Pin CI actions to commit SHAs - #2735

Merged
calebporzio merged 1 commit into
mainfrom
agent/pin-ci-actions
Aug 14, 2026
Merged

Pin CI actions to commit SHAs#2735
calebporzio merged 1 commit into
mainfrom
agent/pin-ci-actions

Conversation

@calebporzio

Copy link
Copy Markdown
Contributor

What changed

  • Pin actions/checkout to the commit behind v4.4.0.
  • Pin shivammathur/setup-php to the commit behind 2.37.2.

Why

The CI workflow introduced in #2724 used mutable major-version tags. Pinning third-party workflow dependencies to reviewed commit SHAs prevents those tags from silently changing the code executed by CI.

Impact

CI behavior remains the same while the action source is made deterministic. Version comments preserve Dependabot compatibility and readability.

Validation

  • Parsed .github/workflows/ci.yml successfully.
  • git diff --check passed.
  • Confirmed each pinned commit is the current commit behind its documented release tag.

@calebporzio
calebporzio marked this pull request as ready for review August 14, 2026 11:29
@calebporzio
calebporzio merged commit 2c8219f into main Aug 14, 2026
1 check passed
@calebporzio
calebporzio deleted the agent/pin-ci-actions branch August 14, 2026 11:29
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