Bjorn Lu 64b747d5f5 Update all the docs (#703)
* Update all the docs

* Fix heading
2026-07-31 14:33:09 +00:00
2026-05-15 19:04:24 +00:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-07-24 12:20:48 +00:00
2026-05-15 11:48:55 +00:00
2026-07-31 14:33:09 +00:00
2026-07-01 12:28:07 +00:00
2025-05-15 21:55:11 +02:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-07-31 14:33:09 +00:00
2026-05-25 17:30:08 +00:00

Changesets GitHub Action

Important

This is the development branch for changesets/action v2 compatible with Changesets v3. For the v1 code compatible with Changesets v2, check out the maintenance/v1 branch.

This repo contains a collection of GitHub Actions for Changesets. Check out the Automating Changesets guide to learn how to use these actions to automate your workflow.

changesets/action

This action handles versioning and publishing of packages. It's the equivalent of setting up the changesets/action/select-mode, changesets/action/version, and changesets/action/publish actions in a workflow, but with the required permissions combined.

If using trusted publishing, it's recommended to set up the individual sub-actions instead to tighten publish permissions.

Requirements

Usage

Tip

Check out the docs to learn how to set up the version and publish workflow.

API

Inputs Description
github-token The GitHub token to use for authentication. Defaults to the GitHub-provided token.
publish-script The command to use to build and publish packages
version-script The command to update version, edit CHANGELOG, read and delete changesets. Default to changeset version if not provided
commit-message The commit message. Default to Version Packages
pr-title The pull request title. Default to Version Packages
pr-draft Controls draft PR behavior. Use 'create' to create new version PRs as draft, or 'always' to also convert existing version PRs back to draft when updating them.
pr-base-branch Sets the base branch of the PR. Defaults to github.ref_name.
create-github-releases Whether to create Github releases after publish
push-git-tags Whether to create git tags after publish. If create-github-releases is set to true, this option will also always be true.
commit-mode An enum to specify the commit mode. Use "git-cli" to push changes using the Git CLI, or "github-api" to push changes via the GitHub API. When using "github-api", all commits and tags are signed using GitHub's GPG key and attributed to the user or app who owns the GITHUB_TOKEN.
Outputs Description
published A "true" or "false" string value to indicate whether a publishing is happened or not
published-packages A JSON array to present the published packages. The format is [{"name": "@xx/xx", "version": "1.2.0"}, {"name": "@xx/xy", "version": "0.8.9"}]
has-changesets A "true" or "false" string value about whether there were changesets. Useful if you want to create your own publishing functionality.
pr-number The pull request number that was created or updated
S
Description
No description provided
Readme MIT
14 MiB
Languages
TypeScript 99.5%
JavaScript 0.5%