fix(ci): update changesets/action inputs for v2 - #143
Merged
Merged
Conversation
changesets/action v2 renamed its inputs (version->version-script, publish->publish-script, commit->commit-message, title->pr-title), which broke the Publish workflow on main after the renovate bump. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The Slack announcement step still referenced the pre-v2 output name publishedPackages instead of published-packages, which would have produced an empty payload on the next successful publish. Also bump the .changeset/config.json $schema to match @changesets/config@4.0.0. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
obarcelonap
approved these changes
Sep 18, 2026
2 tasks
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.
Summary
changesets/actionto v2 (chore(renovate): Update changesets/action action to v2 #136) didn't account for the action's breaking changes, breaking the Publish workflow onmainright after the build step succeeds.changesets/actionv2 renamed inputsversion→version-script,publish→publish-script,commit→commit-message,title→pr-title, and renamed thepublishedPackagesoutput topublished-packages. Updated.github/workflows/publish.ymlfor both (the output rename was missed by the equivalent fix in RENOVATE: Update changesets/action action to v2 aio-commerce-sdk#622 — confirmed against the action'saction.ymlat the pinned SHA)..changeset/config.json's$schemato@changesets/config@4.0.0to match the@changesets/cliv3 bump.@changesets/cliv3 and@changesets/changelog-githubv1 major-version changes (private-package versioning defaults,prettier→formatconfig,changeset tag→git-tagrename, Node engine bump) — none apply to this repo's config or scripts.Test plan
changesets/actionwith "The following inputs have been renamed"changesets/action'saction.ymlthatpublishedPackagesoutput was renamed topublished-packagesmaincompletes past the Create Release Pull Request step and, on the next actual publish, the Slack announcement payload is non-empty