Skip to content

Commit b9bd7a8

Browse files
committed
Update the git config for gh action
Signed-off-by: Jiyeong Seok <[email protected]>
1 parent 662565c commit b9bd7a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
echo Last version: ${last_version}
3131
new_version=$(echo ${NEW_TAG//v/""})
3232
echo New version: ${new_version}
33-
git config --local user.name "github-actions[bot]"
33+
git config --global user.name "github-actions[bot]"
34+
git config --global user.email "[email protected]"
3435
bumpversion --current-version $last_version --new-version $new_version setup.py
3536
- name: update changelog with gren
3637
env:
@@ -40,7 +41,8 @@ jobs:
4041
node_modules/.bin/gren changelog --override
4142
- name: Commit files
4243
run: |
43-
git config --local user.name "github-actions[bot]"
44+
git config --global user.name "github-actions[bot]"
45+
git config --global user.email "[email protected]"
4446
git add CHANGELOG.md
4547
git commit -m "Update ChangeLog"
4648
- name: Push changes

0 commit comments

Comments
 (0)