Update changesets/action action to v2 #57

Open
renovate[bot] wants to merge 1 commit from renovate/changesets-action-2.x into main
renovate[bot] commented 2026-11-03 03:11:11 +00:00 (Migrated from github.com)

This PR contains the following updates:

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

Release Notes

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 was generated by Mend Renovate. View the repository job log.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [changesets/action](https://redirect.github.com/changesets/action) | action | major | `v1` → `v2.1.2` | --- ### Release Notes <details> <summary>changesets/action</summary> ### [`v2.1.2`](https://redirect.github.com/changesets/action/releases/tag/v2.1.2) [Compare Source](https://redirect.github.com/changesets/action/compare/v2.1.1...v2.1.2) ##### Patch Changes - [#&#8203;735](https://redirect.github.com/changesets/action/pull/735) [`8833883`](https://redirect.github.com/changesets/action/commit/88338839e35c3e0fa61f3c9c3f27e7572cd5f2cf) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Handle error when pushing git tags with the git CLI - [#&#8203;724](https://redirect.github.com/changesets/action/pull/724) [`36f529f`](https://redirect.github.com/changesets/action/commit/36f529f13ab58bbcf6331035cb950385586e8a89) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Improve log messages - [#&#8203;724](https://redirect.github.com/changesets/action/pull/724) [`36f529f`](https://redirect.github.com/changesets/action/commit/36f529f13ab58bbcf6331035cb950385586e8a89) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Fix root action double error logs - [#&#8203;729](https://redirect.github.com/changesets/action/pull/729) [`ca85897`](https://redirect.github.com/changesets/action/commit/ca8589735af2ff6977a0f6474537d550040530d8) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Always switch and reset branch when generating version commits, similar to if `push-with-git-cli` is enabled ### [`v2.1.1`](https://redirect.github.com/changesets/action/releases/tag/v2.1.1) [Compare Source](https://redirect.github.com/changesets/action/compare/v2.1.0...v2.1.1) ##### Patch Changes - [#&#8203;721](https://redirect.github.com/changesets/action/pull/721) [`da1ea29`](https://redirect.github.com/changesets/action/commit/da1ea291ef93203a08fad360eac36f4858dd0514) Thanks [@&#8203;KEBABSELLER6](https://redirect.github.com/KEBABSELLER6)! - Fixed typo in renamed inputs from v1 to v2 ### [`v2.1.0`](https://redirect.github.com/changesets/action/releases/tag/v2.1.0) [Compare Source](https://redirect.github.com/changesets/action/compare/v2.0.0...v2.1.0) ##### Minor Changes - [#&#8203;718](https://redirect.github.com/changesets/action/pull/718) [`3b7c71c`](https://redirect.github.com/changesets/action/commit/3b7c71c440e75fca5d335f779290425fc1117fe8) Thanks [@&#8203;bluwy](https://redirect.github.com/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 - [#&#8203;716](https://redirect.github.com/changesets/action/pull/716) [`6f58ba3`](https://redirect.github.com/changesets/action/commit/6f58ba35801ec075a1c87569277591f8ef1a3029) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Update `pr-status` message to link to the new faq page ### [`v2.0.0`](https://redirect.github.com/changesets/action/releases/tag/v2.0.0) [Compare Source](https://redirect.github.com/changesets/action/compare/v1.9.0...v2.0.0) ##### Major Changes - [#&#8203;692](https://redirect.github.com/changesets/action/pull/692) [`cb3f011`](https://redirect.github.com/changesets/action/commit/cb3f0110d7423cd340b1c5d63584c0ea6ee63959) Thanks [@&#8203;Andarist](https://redirect.github.com/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. - [#&#8203;680](https://redirect.github.com/changesets/action/pull/680) [`ca57073`](https://redirect.github.com/changesets/action/commit/ca57073900dc678254406a052a03c0c8824e319d) Thanks [@&#8203;bluwy](https://redirect.github.com/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. - [#&#8203;657](https://redirect.github.com/changesets/action/pull/657) [`4f718b5`](https://redirect.github.com/changesets/action/commit/4f718b5921490b1efeb015a81abb6a4633892851) Thanks [@&#8203;Andarist](https://redirect.github.com/Andarist)! - Removed compatibility support for old Changesets v1. - [#&#8203;681](https://redirect.github.com/changesets/action/pull/681) [`7359107`](https://redirect.github.com/changesets/action/commit/73591071e61c7f61cf322dd7a6341dc29a8e1d4e) Thanks [@&#8203;bluwy](https://redirect.github.com/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` - [#&#8203;674](https://redirect.github.com/changesets/action/pull/674) [`164652b`](https://redirect.github.com/changesets/action/commit/164652bdd60525670d95291addb8c6f92833ac60) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Remove support for passing custom GitHub token through the GITHUB_TOKEN environment variable. It should be passed to the `github-token` input instead. - [#&#8203;659](https://redirect.github.com/changesets/action/pull/659) [`5649ff4`](https://redirect.github.com/changesets/action/commit/5649ff41b8eb1b7a281011e45df781c6d4628fd0) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Remove `cwd` option for `changesets/action`. Use the step `working-directory` option instead to change the directory. - [#&#8203;673](https://redirect.github.com/changesets/action/pull/673) [`823cf74`](https://redirect.github.com/changesets/action/commit/823cf741ca57c5e22652123d3a847dfafcd77ca0) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Update to Changesets v3 packages - [#&#8203;695](https://redirect.github.com/changesets/action/pull/695) [`469993c`](https://redirect.github.com/changesets/action/commit/469993ce5783c6a38e72541d4ba0d25588702b9a) Thanks [@&#8203;bluwy](https://redirect.github.com/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. - [#&#8203;668](https://redirect.github.com/changesets/action/pull/668) [`0eae789`](https://redirect.github.com/changesets/action/commit/0eae789230defbc4ad287e9b476aba7e842e34e0) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Rename the input and output names to kebab-case instead of camelCase to match the official GitHub actions pattern ##### Minor Changes - [#&#8203;656](https://redirect.github.com/changesets/action/pull/656) [`a12d90d`](https://redirect.github.com/changesets/action/commit/a12d90de8394e63c952622b2fd3f98c8729c48b0) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Add new `/select-mode`, `/version`, and `/publish` sub-actions to better control version and publish steps - [#&#8203;678](https://redirect.github.com/changesets/action/pull/678) [`f71ae04`](https://redirect.github.com/changesets/action/commit/f71ae043ed5deb17952900091e009a60edef9507) Thanks [@&#8203;Andarist](https://redirect.github.com/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 - [#&#8203;699](https://redirect.github.com/changesets/action/pull/699) [`5b307d3`](https://redirect.github.com/changesets/action/commit/5b307d3df25daf51c41dff70d2f66df1579ae9fa) Thanks [@&#8203;Andarist](https://redirect.github.com/Andarist)! - Validate that projects use Changesets CLI v3 and direct Changesets CLI v2 users to `changesets/action@v1`. - [#&#8203;697](https://redirect.github.com/changesets/action/pull/697) [`84d78c6`](https://redirect.github.com/changesets/action/commit/84d78c68f98f20e24dfff22b22193e7b4f326ad9) Thanks [@&#8203;Andarist](https://redirect.github.com/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. - [#&#8203;670](https://redirect.github.com/changesets/action/pull/670) [`5a8b9b7`](https://redirect.github.com/changesets/action/commit/5a8b9b721bf683e3bf9bd72ea92a685dc024147b) Thanks [@&#8203;Andarist](https://redirect.github.com/Andarist)! - Authenticate git CLI pushes with the configured GitHub token using Git extra headers instead of writing to a global `.netrc` file. - [#&#8203;670](https://redirect.github.com/changesets/action/pull/670) [`5a8b9b7`](https://redirect.github.com/changesets/action/commit/5a8b9b721bf683e3bf9bd72ea92a685dc024147b) Thanks [@&#8203;Andarist](https://redirect.github.com/Andarist)! - Derive the Git server URL from the GitHub Actions context when configuring git CLI authentication to support GitHub Enterprise Server setups. - [#&#8203;688](https://redirect.github.com/changesets/action/pull/688) [`219ea82`](https://redirect.github.com/changesets/action/commit/219ea82e52caaff2a10a5e34d3455093cf958238) Thanks [@&#8203;Andarist](https://redirect.github.com/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. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/chris-kreidl/katanatools). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDIuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIwMi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
coderabbitai[bot] commented 2026-11-03 03:11:18 +00:00 (Migrated from github.com)

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e9acc83e-a6b3-447d-a21f-8d449a8577e2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
<!-- coderabbit-ai-generated:v1 --> <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- This is an auto-generated comment: skip review by coderabbit.ai --> > [!IMPORTANT] > ## Review skipped > > Bot user detected. > > To trigger a single review, invoke the `@coderabbitai review` command. > > <details> > <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary> > <dl> > <dd> > > - **Source mode**: Auto > - **Repository**: Unavailable > - **Branch**: Unavailable > - **File**: No configuration file from this repository applied > - **Commit**: Unavailable > - **Layers**: Organization UI > - **Review profile**: ASSERTIVE > - **Plan**: Advanced > - **Run ID**: `e9acc83e-a6b3-447d-a21f-8d449a8577e2` > > </dd> > </dl> > </details> > > You can disable this status message by setting the `reviews.review_status` to `false` in the CodeRabbit configuration file. > > Use the checkbox below for a quick retry: > - [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> Trigger review <!-- end of auto-generated comment: skip review by coderabbit.ai --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=chris-kreidl/katanatools&utm_content=57)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>Share</strong></summary> <dl> <dd> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <!-- tips_end --> <!-- verify_invitation_start --> ### CodeRabbit Verify - [ ] <!-- {"checkboxId":"run-qa-agent"} --> Run CodeRabbit Verify to test the changes in this pull request. <!-- verify_invitation_end -->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/changesets-action-2.x:renovate/changesets-action-2.x'
git switch 'renovate/changesets-action-2.x'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'renovate/changesets-action-2.x'
git switch 'renovate/changesets-action-2.x'
git rebase 'main'
git switch 'main'
git merge --ff-only 'renovate/changesets-action-2.x'
git switch 'renovate/changesets-action-2.x'
git rebase 'main'
git switch 'main'
git merge --no-ff 'renovate/changesets-action-2.x'
git switch 'main'
git merge --squash 'renovate/changesets-action-2.x'
git switch 'main'
git merge --ff-only 'renovate/changesets-action-2.x'
git switch 'main'
git merge 'renovate/changesets-action-2.x'
git push origin 'main'
Sign in to join this conversation.
No description provided.