mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
* custom git user option * Create two-dolls-promise.md * Update two-dolls-promise.md * change input name and update default * Update .changeset/two-dolls-promise.md Co-authored-by: Mitchell Hamilton <mitchell@hamil.town>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: Changesets
|
|
description: A GitHub action to automate releases with Changesets
|
|
runs:
|
|
using: "node12"
|
|
main: "dist/index.js"
|
|
inputs:
|
|
publish:
|
|
description: "The command to use to build and publish packages"
|
|
required: false
|
|
version:
|
|
description: "The command to update version, edit CHANGELOG, read and delete changesets. Default to `changeset version` if not provided"
|
|
required: false
|
|
commit:
|
|
description: |
|
|
The commit message. Default to `Version Packages`
|
|
required: false
|
|
title:
|
|
description: The pull request title. Default to `Version Packages`
|
|
required: false
|
|
setupGitUser:
|
|
description: Sets up the git user for commits as `"github-actions[bot]"`. Default to `true`
|
|
required: false
|
|
default: true
|
|
outputs:
|
|
published:
|
|
description: A boolean value to indicate whether a publishing is happened or not
|
|
publishedPackages:
|
|
description: >
|
|
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"}]`
|
|
branding:
|
|
icon: "package"
|
|
color: "blue"
|