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
Remove the `setup-git-user` input. Complete custom Git identities are now preserved automatically, while `github-actions[bot]` is configured as a fallback before creating local release commits or tags.
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,14 +18,18 @@ There are also sub-actions hosted in this repository. Check out their respective
18
18
- version-script - The command to update version, edit CHANGELOG, read and delete changesets. Default to `changeset version` if not provided
19
19
- commit-message - The commit message to use. Default to `Version Packages`
20
20
- pr-title - The pull request title. Default to `Version Packages`
21
-
- setup-git-user - Sets up the git user for commits as `"github-actions[bot]"`. Default to `true`
22
21
- create-github-releases - A boolean value to indicate whether to create Github releases after `publish` or not. Default to `true`
23
22
- push-git-tags - A boolean value to indicate whether to create git tags after `publish` or not. Default to `true`
24
23
- commit-mode - Specifies 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 GPG-signed and attributed to the user or app who owns the `GITHUB_TOKEN`. Default to `git-cli`
25
24
- cwd - Changes node's `process.cwd()` if the project is not located on the root. Default to `process.cwd()`
26
25
- 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. By default, version PRs are not forced into draft mode
27
26
- github-token - Passes a custom GitHub token
28
27
28
+
Before creating local commits or annotated tags, the action preserves complete
29
+
Git author and committer identities configured through the environment or Git
30
+
configuration. If either identity is unavailable, it configures
31
+
`github-actions[bot]` as a fallback.
32
+
29
33
### Outputs
30
34
31
35
- published - A boolean value to indicate whether a publishing has happened or not
0 commit comments