Files
changesets-action/select-mode
Bjorn Lu 50de20a107 Add extra permission docs (#704)
* Add extra permission docs

* Update
2026-08-01 09:35:59 +00:00
..
2026-08-01 09:35:59 +00:00

changesets/action/select-mode

This action selects the mode to run a Changesets workflow:

  • "version": Changesets are found. The workflow should version packages and create a pull request with the changes.
  • "publish": No changesets are found and they are publishable packages. The workflow should publish them.
  • "none": No changesets are found and there are no publishable packages. The workflow should do nothing.

Requirements

Usage

Tip

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

API

Inputs: none

Outputs Description
mode The mode to use for the current repo state: 'version', 'publish', or 'none'.
publish-plan-artifact-id Artifact id for the generated publish plan when mode is publish