mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 09:10:16 +03:00
feat(git config): Set default user.name and user.email in git config
This commit is contained in:
parent
cbb722410c
commit
f3b199b7ed
6 changed files with 26 additions and 4 deletions
|
@ -281,8 +281,6 @@ jobs:
|
|||
- run: |
|
||||
date > generated.txt
|
||||
# Note: the following account information will not work on GHES
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add .
|
||||
git commit -m "generated"
|
||||
git push
|
||||
|
@ -305,8 +303,6 @@ jobs:
|
|||
- run: |
|
||||
date > generated.txt
|
||||
# Note: the following account information will not work on GHES
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add .
|
||||
git commit -m "generated"
|
||||
git push
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue