Skip to content

Pin composer-install to 4.0.0 and checkout to 6.0.3#887

Merged
GaryJones merged 1 commit into
developfrom
GaryJones/vipcs-pin-action-version
Jun 15, 2026
Merged

Pin composer-install to 4.0.0 and checkout to 6.0.3#887
GaryJones merged 1 commit into
developfrom
GaryJones/vipcs-pin-action-version

Conversation

@GaryJones

Copy link
Copy Markdown
Contributor

Summary

Dependabot raised #886 to bump ramsey/composer-install from one commit SHA to another, but both the old and new pins carried the same # v4 comment. That is because the previous pin tracked the tip of ramsey/composer-install's floating v4 branch (which is also its default branch), so a SHA bump could never show a meaningful version change in a diff. The new SHA Dependabot proposed was ten commits ahead of the only 4.x release tag, and every one of those commits was the action's own internal Dependabot churn.

This pins ramsey/composer-install to the 4.0.0 release SHA instead, with a matching # 4.0.0 comment. That gives an honest mapping between the SHA and the version, brings the line in step with how setup-php and xmllint-validate are already pinned, and lets Dependabot follow genuine releases going forward so future bumps are self-explanatory. This is also the approach ramsey now recommends in their own README.

While here, actions/checkout is pinned to the 6.0.3 release SHA. It was previously left on the floating @v6 major tag — first-party actions were deliberately excluded when the third-party actions were SHA-pinned. Bringing it onto the same SHA-and-version convention keeps the workflows consistent and makes future Dependabot bumps equally clear.

#886 has been closed in favour of this PR.

Pin ramsey/composer-install to the 4.0.0 release SHA rather than the
floating v4 branch tip. The previous pin tracked the v4 branch, so the
version comment could only ever read "# v4" and a SHA bump carried no
visible meaning in a diff. Pinning to the 4.0.0 tag gives an honest
SHA-to-version mapping and lets Dependabot follow releases, matching the
style already used for setup-php and xmllint-validate.

Also pin actions/checkout to the 6.0.3 release SHA. It was previously
left on the floating @v6 major tag; pinning it brings the first-party
action in line with the SHA-and-version convention and makes future
Dependabot bumps self-explanatory.
@GaryJones GaryJones requested a review from a team as a code owner June 15, 2026 10:10
@GaryJones GaryJones merged commit ca79ef8 into develop Jun 15, 2026
26 checks passed
@GaryJones GaryJones deleted the GaryJones/vipcs-pin-action-version branch June 15, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant