Skip to content

chore(deps): update changesets/action action to v2 - #1271

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/changesets-action-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/changesets-action-2.x

Conversation

@renovate

@renovate renovate Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
changesets/action action major v1.9.0v2.1.2

Release Notes

changesets/action (changesets/action)

v2.1.2

Compare Source

Patch Changes

v2.1.1

Compare Source

Patch Changes

v2.1.0

Compare Source

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

Compare Source

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

    Outputs:

    • pull-request-number -> pr-number
  • #​674 164652b Thanks @​bluwy! - Remove support for passing custom GitHub token through the GITHUB_TOKEN environment variable. It should be passed to the github-token input instead.

  • #​659 5649ff4 Thanks @​bluwy! - Remove cwd option for changesets/action. Use the step working-directory option instead to change the directory.

  • #​673 823cf74 Thanks @​bluwy! - Update to Changesets v3 packages

  • #​695 469993c Thanks @​bluwy! - Removed .npmrc handling when the NPM_TOKEN environment variable is set.

    Authentication should be handled via Trusted Publishing instead. If a token is still needed, use actions/setup-node to set it up instead via the registry-url option. Check out the updated action README for more information of setting up npm authentication in GitHub Actions.

  • #​668 0eae789 Thanks @​bluwy! - Rename the input and output names to kebab-case instead of camelCase to match the official GitHub actions pattern

Minor Changes
  • #​656 a12d90d Thanks @​bluwy! - Add new /select-mode, /version, and /publish sub-actions to better control version and publish steps

  • #​678 f71ae04 Thanks @​Andarist! - Published packages detection done through stdout parsing was replaced with one based on the shared output file using CHANGESETS_OUTPUT environment variable. When using custom scripts this environment variable should always be passed down to the Changesets CLI invocations.

Patch Changes
  • #​699 5b307d3 Thanks @​Andarist! - Validate that projects use Changesets CLI v3 and direct Changesets CLI v2 users to changesets/action@v1.

  • #​697 84d78c6 Thanks @​Andarist! - Allow custom publish scripts to complete without a Changesets output file, warning that GitHub releases and git tags cannot be created when that file is missing.

  • #​670 5a8b9b7 Thanks @​Andarist! - Authenticate git CLI pushes with the configured GitHub token using Git extra headers instead of writing to a global .netrc file.

  • #​670 5a8b9b7 Thanks @​Andarist! - Derive the Git server URL from the GitHub Actions context when configuring git CLI authentication to support GitHub Enterprise Server setups.

  • #​688 219ea82 Thanks @​Andarist! - Remove the setup-git-user input. Complete custom Git identities are now preserved automatically, while github-actions[bot] is configured as a fallback before creating local release commits or tags.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here


Note

High Risk
This is a major bump on the job that versions packages and publishes to npm; action v2 has breaking behavior (inputs, GitHub token, Changesets CLI v3) that this diff does not migrate, so the release pipeline may fail or behave differently after merge.

Overview
Updates the Release workflow to pin changesets/action from v1.9.0 to v2.1.2 (new commit SHA only). The step’s with block, env vars, and downstream release steps are unchanged in this diff.

Reviewed by Cursor Bugbot for commit 08ce87d. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
tsdocs-client Ignored Ignored Sep 16, 2026 6:08pm UTC

Request Review

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 83.82% 1918 / 2288
🔵 Statements 83.69% 1992 / 2380
🔵 Functions 78.85% 522 / 662
🔵 Branches 83.06% 1398 / 1683
File CoverageNo changed files found.
Generated in workflow #5127 for commit 08ce87d by the Vitest Coverage Report Action

@socket-security

socket-security Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub/​changesets/​action@​a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d ⏵ ae32849d5ba541f9ae29e40e22a623bc13562f5197 +2100100100100

View full report

Comment thread .github/workflows/release.yml Outdated
- name: Create version pull request or publish to npm
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@22ccf9aa43179fe9e27dc62e575971d28cce197c # v2.0.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Action v2 needs CLI v3

High Severity

changesets/action@v2 requires Changesets CLI v3 and rejects CLI v2. This repo still depends on @changesets/cli v2 (^2.31.1), so the release job will fail its version check. Action v2 users on CLI v2 are expected to stay on changesets/action@v1 until the CLI is upgraded.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 47678e0. Configure here.

Comment thread .github/workflows/release.yml Outdated
- name: Create version pull request or publish to npm
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@22ccf9aa43179fe9e27dc62e575971d28cce197c # v2.0.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

v1 action inputs left unchanged

High Severity

The workflow still passes v1 camelCase inputs (publish, title, commit, createGithubReleases, setupGitUser) and authenticates via the GITHUB_TOKEN env var. In v2 those become publish-script, pr-title, commit-message, create-github-releases, and the github-token input; unknown inputs and the env token are ignored. The publish script would not run, the app token would not be used, and GitHub releases would default back on without make_latest control.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 47678e0. Configure here.

@renovate
renovate Bot force-pushed the renovate/changesets-action-2.x branch 2 times, most recently from ee23ecf to 0fcfa91 Compare August 20, 2026 07:01

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 3 total unresolved issues (including 2 from previous reviews).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0fcfa91. Configure here.

Comment thread .github/workflows/release.yml Outdated
- name: Create version pull request or publish to npm
id: changesets
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

App token no longer reaches action

High Severity

v2 requires custom tokens on the github-token input and no longer reads GITHUB_TOKEN. This job only grants contents: read to the default github.token, so version PRs and GitHub API pushes for release commits or tags will fail after the bump.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0fcfa91. Configure here.

@renovate
renovate Bot force-pushed the renovate/changesets-action-2.x branch from 0fcfa91 to eae88e6 Compare August 26, 2026 09:55
@renovate
renovate Bot force-pushed the renovate/changesets-action-2.x branch 3 times, most recently from 5ae794f to 7e0c6ba Compare September 8, 2026 13:14
@renovate
renovate Bot force-pushed the renovate/changesets-action-2.x branch from 7e0c6ba to 08ce87d Compare September 16, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants