fix(ci): hold changesets/action at v1 and stop grouping major bumps - #72
Merged
Conversation
The release workflow has been failing since #70: Unexpected input(s) 'version', 'publish' This version of the Changesets action is designed to work with Changesets CLI v3. Changesets CLI v2 is not supported. changesets/action v2 requires Changesets CLI v3 and renames its inputs to version-script/publish-script. This repo is on @changesets/cli ^2.31.1 (the maintained `maintenance-v2` line), so the action is reverted to v1.9.0 with a comment recording why it is held there. The bump reached main because the Dependabot config added in #68 grouped every action update under `patterns: ["*"]` with no major-version guard, so three majors — setup-node v6->v7, github-script v8->v9, and this one — landed in a single PR titled "bump the actions group with 3 updates". The group is now restricted to minor and patch; majors arrive individually where a breaking change is visible in the title. changesets/action majors are additionally ignored until the CLI upgrade happens. The other two majors from #70 are fine and are left in place: code-quality, docker-doctor, and codeql all pass on main with setup-node v7 and github-script v9. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
The latest Docker Doctor scan for this pull request. Learn more about Docker Doctor.
Score: 84 / 100 · 3 issues
Scanned by Docker Doctor for commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The release workflow has been failing on
mainsince #70 merged (run 32211135291):changesets/actionv2 requires Changesets CLI v3 and renames its inputs toversion-script/publish-script. This repo is on@changesets/cli: ^2.31.1— still maintained upstream under themaintenance-v2dist-tag — so the action is reverted to v1.9.0 (a45c4d59), with a comment at the call site recording why it is held there rather than left to drift back up.How the bump reached
main. The Dependabot config added in #68 grouped every action update underpatterns: ["*"]with no major-version guard. Three majors —setup-nodev6→v7,github-scriptv8→v9, andchangesets/actionv1→v2 — were bundled into one PR titled "bump the actions group with 3 updates", which reads as routine. That grouping is the actual defect; reverting the pin alone would leave it to happen again next week.The group is now restricted to
minorandpatch, so majors arrive as individual PRs where the breaking change is visible in the title.changesets/actionmajors are additionally ignored outright until the CLI upgrade is done deliberately.The other two majors are left in place. Both were verified working on
mainafter #70:code-quality,docker-doctor, andcodeqlall pass withsetup-nodev7 andgithub-scriptv9. Onlyreleasewas broken, so onlyreleaseis touched here.Related Issues
None — regression from #70, reported directly.
Checklist
Screenshots (if applicable)
n/a — workflow output quoted above.
Additional Notes
This restores the release pipeline with the minimum change; it is not a decision to stay on Changesets v2 forever. The forward path is a separate PR that bumps
@changesets/clito^3.0.1, moves the action back to v2.1.0, and renames the two inputs — all three have to move together. Doing that here would mean shipping a CLI major through a release pipeline that is currently red, which is the wrong order.There is an open
Version PackagesPR (#62) that was created before the break. It should pick up normally once this lands and the workflow runs green again.