You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Apply git user
1.1.0
Apply a well-known git user to git config user.*
.
- actions-user
- github-actions
- (Latest git commit 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 email and 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)