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
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