Repository navigation
fix(ci): bump @changesets/cli to v3 and update release workflow for changesets/action v2 - #52
Conversation
…hangesets/action v2 changesets/action v2 validates that the project uses Changesets CLI v3 at startup and fails otherwise, so the cli bump and the workflow rewrite must ship together. Renamed the action inputs to the v2 kebab-case schema (version -> version-script, publish -> publish-script, title -> pr-title, commit -> commit-message, createGithubReleases -> create-github-releases), dropped commitMode (removed; GitHub API push is now the default), and moved the token from env: GITHUB_TOKEN to with: github-token, which v2 requires.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe release tooling updates pinned GitHub Actions, migrates the Changesets action inputs to v2.1.1, and upgrades ChangesRelease tooling
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Coverage Summary |
commit: |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
@changesets/clifrom 2.31.1 to 3.0.0.changesets/actionv2validates at startup that the project is on Changesets CLI v3 and fails
otherwise, so the cli bump and the workflow rewrite below ship together in
this one PR to avoid a broken intermediate state on
main.changesets/actionfromv1tov2, which renamed its root inputsto kebab-case with different names:
version->version-scriptpublish->publish-scripttitle->pr-titlecommit->commit-messagecreateGithubReleases->create-github-releasescommitMode: "github-api", which is not a valid v2 input — pushingcommits/tags via the GitHub API is now the default (
push-with-git-cli: false).env: GITHUB_TOKENtowith: github-token, since v2no longer reads the
GITHUB_TOKENenvironment variable for authentication.Summary by CodeRabbit