You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7359107
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ jobs:
106
106
uses: changesets/action@v2
107
107
with:
108
108
# This expects you to have a script called release which does a build for your packages and calls changeset publish
109
-
publish: pnpm release
109
+
publish-script: pnpm release
110
110
env:
111
111
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
112
112
@@ -217,7 +217,7 @@ jobs:
217
217
uses: changesets/action@v2
218
218
with:
219
219
# this expects you to have a npm script called version that runs some logic and then calls `changeset version`.
220
-
version: pnpm version
220
+
version-script: pnpm version
221
221
```
222
222
223
223
#### With Yarn 2 / Plug'n'Play
@@ -227,6 +227,6 @@ If you are using [Yarn Plug'n'Play](https://yarnpkg.com/features/pnp), you shoul
Copy file name to clipboardExpand all lines: action.yml
+18-17Lines changed: 18 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,28 @@ inputs:
8
8
description: "The GitHub token to use for authentication. Defaults to the GitHub-provided token."
9
9
required: false
10
10
default: ${{ github.token }}
11
-
publish:
11
+
publish-script:
12
12
description: "The command to use to build and publish packages"
13
13
required: false
14
-
version:
14
+
version-script:
15
15
description: "The command to update version, edit CHANGELOG, read and delete changesets. Default to `changeset version` if not provided"
16
16
required: false
17
-
commit:
18
-
description: |
19
-
The commit message. Default to `Version Packages`
17
+
commit-message:
18
+
description: "The commit message. Default to `Version Packages`"
20
19
required: false
21
-
title:
22
-
description: The pull request title. Default to `Version Packages`
20
+
default: "Version Packages"
21
+
pr-title:
22
+
description: "The pull request title. Default to `Version Packages`"
23
23
required: false
24
-
setup-git-user:
25
-
description: Sets up the git user for commits as `"github-actions[bot]"`. Default to `true`
24
+
default: "Version Packages"
25
+
pr-draft:
26
+
description: "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."
27
+
required: false
28
+
pr-base-branch:
29
+
description: "Sets the base branch of the PR. Defaults to `github.ref_name`."
26
30
required: false
27
-
default: true
28
31
create-github-releases:
29
-
description: "A boolean value to indicate whether to create Github releases after `publish` or not"
32
+
description: "Whether to create Github releases after publish"
30
33
required: false
31
34
default: true
32
35
push-git-tags:
@@ -43,12 +46,10 @@ inputs:
43
46
or app who owns the GITHUB_TOKEN.
44
47
required: false
45
48
default: "git-cli"
46
-
branch:
47
-
description: Sets the branch in which the action will run. Default to `github.ref_name` if not provided
48
-
required: false
49
-
pr-draft:
50
-
description: '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.'
49
+
setup-git-user:
50
+
description: Sets up the git user for commits as `"github-actions[bot]"`. Default to `true`
51
51
required: false
52
+
default: true
52
53
outputs:
53
54
published:
54
55
description: A boolean value to indicate whether a publishing is happened or not
@@ -57,7 +58,7 @@ outputs:
57
58
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"}]`
58
59
has-changesets:
59
60
description: A boolean about whether there were changesets. Useful if you want to create your own publishing functionality.
60
-
pull-request-number:
61
+
pr-number:
61
62
description: The pull request number that was created or updated
0 commit comments