chore(deps): bump changesets/action from 1.9.0 to 2.1.2 - #459
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [changesets/action](https://github.com/changesets/action) from 1.9.0 to 2.1.2. - [Release notes](https://github.com/changesets/action/releases) - [Changelog](https://github.com/changesets/action/blob/main/CHANGELOG.md) - [Commits](changesets/action@a45c4d5...ae32849) --- updated-dependencies: - dependency-name: changesets/action dependency-version: 2.1.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
| - name: Create Release Pull Request or Publish to npm | ||
| id: changesets | ||
| uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0 | ||
| uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2 |
There was a problem hiding this comment.
🔴 CLI mismatch blocks all releases
Every run fails before mode selection because changesets/action@v2 rejects Changesets CLI 2.29.8. The dependency declaration pins that version. Version pull requests and npm releases stop.
Learn more
The v2 action validates the installed Changesets CLI before reading inputs or selecting versioning versus publishing. Its compatibility check rejects any CLI major version 2, while this repository installs @changesets/cli 2.29.8 through the dependency declaration. Therefore every push to a configured release branch fails before either release path starts.
Example: Merging a user change with a changeset into main starts the Release workflow. The action detects CLI 2.29.8 and exits with its v3 compatibility error instead of opening the Version Packages pull request.
Recommended fix: Upgrade @changesets/cli and the lockfile to a compatible v3 release, then verify ci:version, ci:publish, and the Changesets configuration against v3. Otherwise keep changesets/action on v1.
Was this helpful? React with 👍 or 👎 to provide feedback.
| - name: Create Release Pull Request or Publish to npm | ||
| id: changesets | ||
| uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0 | ||
| uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2 |
There was a problem hiding this comment.
🔴 Legacy inputs abort releases
After CLI validation succeeds, changesets/action@v2 rejects the configured version and publish inputs. Version pull requests and npm publishing never run.
Learn more
The v2 root action treats the v1 input names as configuration errors. This workflow still passes version and publish, so execution throws before reading their commands. The current CLI incompatibility fails first, but correcting that dependency exposes this independent failure.
Example: With Changesets CLI v3 installed, a push to main reaches the action. It reports that version and publish were renamed, then exits without running yarn ci:version or yarn ci:publish.
Recommended fix: Rename version to version-script and publish to publish-script. Exercise both a changeset-bearing commit and a merged version pull request to validate the two release modes.
Was this helpful? React with 👍 or 👎 to provide feedback.
Bumps changesets/action from 1.9.0 to 2.1.2.
Release notes
Sourced from changesets/action's releases.
... (truncated)
Changelog
Sourced from changesets/action's changelog.
... (truncated)
Commits
ae32849v2.1.20138f45Version Packages (#726)8833883Handle error when pushing git tags with the git CLI (#735)e08fde7Improve log messages (#730)371fd77Bump human-id in the production-dependencies group across 1 directory (#732)85efcafBump actions/checkout in the github-actions group across 1 directory (#734)5bb9d5cBump the development-dependencies group across 1 directory with 7 updates (#733)ca85897Always prepare branch for version (#729)36f529fFix root action double error logs (#724)d7669c8Version Packages (#722)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)