Skip to content

chore(deps): bump changesets/action from 1.9.0 to 2.1.2 - #3013

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/changesets/action-2.1.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/changesets/action-2.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps changesets/action from 1.9.0 to 2.1.2.

Release notes

Sourced from changesets/action's releases.

v2.1.2

Patch Changes

v2.1.1

Patch Changes

v2.1.0

Minor Changes

  • #718 3b7c71c Thanks @​bluwy! - Add a cwd input to the root action, /select-mode, /version, /pack, and /publish sub-actions to set the current working directory to execute Changesets in. This input existed in v1 but was incorrectly removed.

Patch Changes

v2.0.0

Major Changes

  • #692 cb3f011 Thanks @​Andarist! - Release commits and tags are now pushed using the GitHub API by default.

    Replace the commit-mode input with the boolean push-with-git-cli input. Set push-with-git-cli: true to continue using the Git CLI.

    Regardless of the push mode, custom GitHub tokens must be passed explicitly through the github-token input. The GITHUB_TOKEN environment variable and credentials configured by actions/checkout or embedded in remote URLs are not substitutes for this input. When the Git CLI is enabled, github-token takes precedence over those repository credentials.

  • #680 ca57073 Thanks @​bluwy! - Add a new push-git-tags option that complements create-github-releases to control specifically if git tags should be created but not GitHub releases.

    If create-github-releases was previously set to false, which also indirectly disabled git tag creation, git tags will now be created instead by default. If this is not desired, set push-git-tags to false explicitly.

  • #657 4f718b5 Thanks @​Andarist! - Removed compatibility support for old Changesets v1.

  • #681 7359107 Thanks @​bluwy! - Rename the root action inputs and outputs to better match the sub-actions' conventions.

    Inputs:

    • version -> version-script
    • publish -> publish-script
    • commit -> commit-message
    • title -> pr-title
    • branch -> pr-base-branch

... (truncated)

Changelog

Sourced from changesets/action's changelog.

@​changesets/action

2.1.2

Patch Changes

2.1.1

Patch Changes

2.1.0

Minor Changes

  • #718 3b7c71c Thanks @​bluwy! - Add a cwd input to the root action, /select-mode, /version, /pack, and /publish sub-actions to set the current working directory to execute Changesets in. This input existed in v1 but was incorrectly removed.

Patch Changes

2.0.0

Major Changes

  • #692 cb3f011 Thanks @​Andarist! - Release commits and tags are now pushed using the GitHub API by default.

    Replace the commit-mode input with the boolean push-with-git-cli input. Set push-with-git-cli: true to continue using the Git CLI.

    Regardless of the push mode, custom GitHub tokens must be passed explicitly through the github-token input. The GITHUB_TOKEN environment variable and credentials configured by actions/checkout or embedded in remote URLs are not substitutes for this input. When the Git CLI is enabled, github-token takes precedence over those repository credentials.

  • #680 ca57073 Thanks @​bluwy! - Add a new push-git-tags option that complements create-github-releases to control specifically if git tags should be created but not GitHub releases.

    If create-github-releases was previously set to false, which also indirectly disabled git tag creation, git tags will now be created instead by default. If this is not desired, set push-git-tags to false explicitly.

  • #657 4f718b5 Thanks @​Andarist! - Removed compatibility support for old Changesets v1.

  • #681 7359107 Thanks @​bluwy! - Rename the root action inputs and outputs to better match the sub-actions' conventions.

    Inputs:

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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>
@dependabot
dependabot Bot requested a review from a team as a code owner October 14, 2026 00:05
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 14, 2026
@changeset-bot

changeset-bot Bot commented Oct 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9fbce0f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Oct 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/@modelcontextprotocol/client@3013

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/@modelcontextprotocol/codemod@3013

@modelcontextprotocol/core

npm i https://pkg.pr.new/@modelcontextprotocol/core@3013

@modelcontextprotocol/server

npm i https://pkg.pr.new/@modelcontextprotocol/server@3013

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@3013

@modelcontextprotocol/express

npm i https://pkg.pr.new/@modelcontextprotocol/express@3013

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/@modelcontextprotocol/fastify@3013

@modelcontextprotocol/hono

npm i https://pkg.pr.new/@modelcontextprotocol/hono@3013

@modelcontextprotocol/node

npm i https://pkg.pr.new/@modelcontextprotocol/node@3013

commit: 9fbce0f

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment on lines 42 to +45

- name: Create or update Version Packages PR
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Maintainers lose npm publishing after a Version Packages PR merges: the Publish job is skipped on every push to main instead of running. The PR's own changelog says v2.0.0 renamed the root action's outputs to the sub-actions' kebab-case convention, so the v2 action pinned at release.yml:45 emits has-changesets, not hasChangesets. The job output at release.yml:18 therefore reads an empty string, and the condition at release.yml:53 (== 'false') is never true. Fix: read the v2 output name (steps.changesets.outputs.has-changesets) at release.yml:18, and check every other steps.changesets.outputs.* reference against the v2 action.yml; this is separate from the renamed publish input at release.yml:86. [also at: .github/workflows/release.yml:18 - If v2 renamed the root action's outputs along with its inputs, the Publish job is silently skipped on every push to main after this merges. release.yml:18 exports steps.changesets.outputs.hasChangesets from the new v2.1.2 pin at release.yml:45, and the Publish job's gate at release.yml:53 only runs when that value is the string 'false'.]

Why this was flagged

Trigger: any push to main (release.yml:3-6), which runs the version job. The version step at release.yml:45 now runs changesets/action at ae32849d5ba541f9ae29e40e22a623bc13562f51; the quoted v2.0.0 changelog (#681) says the root action's inputs and outputs were renamed to match the sub-actions' conventions, which are kebab-case, so the output is has-changesets. release.yml:18 still maps steps.changesets.outputs.hasChangesets, which under v2 is an unset output and evaluates to ''. release.yml:53 gates the publish job on needs.version.outputs.hasChangesets == 'false'; '' == 'false' is false, so the Publish job is skipped on every run, including the run right after a Version Packages PR merges. On the base branch v1 emits hasChangesets, the condition evaluates true when no changesets are pending, and the publish job runs. This is independent of the already-filed publish -> publish-script rename at release.yml:86: fixing that input alone still leaves the job skipped by this condition.

Verification: release.yml:18 exports hasChangesets: ${{ steps.changesets.outputs.hasChangesets }} from the step at release.yml:43-47, and release.yml:53 gates the Publish job on needs.version.outputs.hasChangesets == 'false'. If the v2 action no longer emits the camelCase hasChangesets output, the job output is the empty string, '' == 'false' is never true, and the Publish job (release.yml:49-89) is skipped on every push.

Comment on lines +84 to 86
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v1
with:
publish: pnpm run ci:publish

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Releases stop publishing to npm after this merges: the publish job runs the action without any publish script, so no package is pushed. The PR bumps changesets/action from v1 to v2.1.2, and v2.0.0 renamed the root action input publish to publish-script, so publish: pnpm run ci:publish at release.yml:86 becomes an unknown input the action ignores. Fix: either keep the pin on the v1 line, or complete the v2 migration in this file: rename the input to publish-script, check the v2 output name used at release.yml:18 and release.yml:53 (hasChangesets), and update the # v1 comments on lines 45 and 84.

Why this was flagged

On every push to main, the publish job at release.yml:49 runs changesets/action pinned to ae32849d5ba541f9ae29e40e22a623bc13562f51 (release.yml:84), which the PR states is v2.1.2. The PR's own release notes for v2.0.0 (#681) say the root input publish was renamed to publish-script. The workflow still passes publish: pnpm run ci:publish (release.yml:86), so GitHub Actions warns of an unexpected input and the action runs with no publish script, meaning pnpm changeset publish from package.json:39 is never executed and nothing is published to npm. On the base branch the v1 action honours publish and publishes. If v2 also renamed the hasChangesets output read at release.yml:18, the condition at release.yml:53 compares an empty string to 'false' and the publish job never runs at all, which fails the same way. The # v1 comments on release.yml:45 and release.yml:84 hide that the pin crossed a major version with breaking renames. The SHA cannot be resolved in this shallow checkout, so this rests on the PR's stated version.

Verification: The diff only swaps the SHA (release.yml:45 and :84) and leaves the publish step's input untouched (release.yml:86). changesets/action v2.0.0 renamed publish -> publish-script, so on v2 publish is an undeclared input: GitHub emits "Unexpected input(s) 'publish'" and the action runs with no publish script, so nothing is published to npm while the workflow reports green.

- name: Create or update Version Packages PR
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 nit (optional): .github/workflows/release.yml — CLAUDE.md says comments say what the code does: both changed uses: lines pin a new SHA that the PR itself describes as changesets/action v2.1.2, yet the trailing # v1 version comment is left unchanged, so the comment no longer describes the commit being pinned. Fix: update the trailing comment to the tag the SHA actually resolves to (# v2.1.2), or keep the v1 pin if v2 is not intended; this covers the 2 sites listed. Same instruction at 2 sites (.github/workflows/release.yml:45, .github/workflows/release.yml:84).

Why this was flagged

Nothing fails at runtime from the comment itself. The # v1 tag comment is the only human-readable record of which action version a bare SHA pins; readers (and SHA-pin tooling that trusts the comment) will believe the workflow still runs changesets/action v1 while, per the Dependabot description, the SHA ae32849d is v2.1.2. This matters here because the PR's own release notes say v2.0.0 renamed the root inputs (publish -> publish-script, etc.) and stopped treating the GITHUB_TOKEN env var as a substitute for the explicit github-token input for API pushes; the workflow still passes with: publish: and only env: GITHUB_TOKEN, so a reader trusting # v1 would not know to check those. I could not resolve the SHA locally (shallow clone, no network), so the version claim rests on the PR description; the stale-comment mismatch is certain either way since the pin changed and the comment did not.

Verification: CLAUDE.md (base 9bc40e9) principle 6 reads verbatim: "The words are true — Changesets, docs and comments say what the code does." The diff changes .github/workflows/release.yml:45 and :84 to uses: changesets/action@ ae32849d5ba541f9ae29e40e22a623bc13562f51 # v1, swapping the pinned SHA while leaving the trailing # v1 comment, yet the PR title and Dependabot release notes identify that SHA as changesets/action 2.1.2 (a major bump that renamed the root inputs publish -> publish-script and changed token handling), so the comment no longer describes the commit the line pins.

@claude claude Bot added the v2 Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes label Oct 14, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code v2 Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants