Apply a well-known git user to git config user.*
.
- actions-user
- github-actions
- (Latest git commit user)
- (Specific user)
- uses: tshion/apply-git-user@(version)
with:
user: (git user)
email: (git user email) # Set if `user` is `specific`
name: (git user name) # Set if `user` is `specific`
Replace (git user)
with one of the following values.
(git user) |
User | Description |
---|---|---|
actions-user |
||
github-actions |
||
latest-commit |
e.g. | Latest git commit user |
specific |
e.g. | Set up a specific user by (git user email) and (git user name) . |
- uses: actions/checkout@v4
with:
path: from
- uses: tshion/apply-git-user@(version)
with:
path: from
user: (git user)
- uses: tshion/apply-git-user@(version)
with:
global: true
user: (git user)
- If you want to know node-version, see .node-version
- If you wish to develop this, see CONTRIBUTING.md