-
Notifications
You must be signed in to change notification settings - Fork 69
chore(deps): bump changesets/action from 1.9.0 to 2.1.2 #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,7 @@ jobs: | |
|
|
||
| - 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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Legacy inputs abort releases After CLI validation succeeds, Learn moreThe v2 root action treats the v1 input names as configuration errors. This workflow still passes Example: With Changesets CLI v3 installed, a push to Recommended fix: Rename Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| with: | ||
| version: yarn ci:version | ||
| publish: yarn ci:publish | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 CLI mismatch blocks all releases
Every run fails before mode selection because
changesets/action@v2rejects 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/cli2.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
mainstarts 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/cliand the lockfile to a compatible v3 release, then verifyci:version,ci:publish, and the Changesets configuration against v3. Otherwise keepchangesets/actionon v1.Was this helpful? React with 👍 or 👎 to provide feedback.