Skip to content

Commit 3121908

Browse files
authored
Fix the github action bug (#138)
Signed-off-by: Jiyeong Seok <[email protected]>
1 parent d7f1754 commit 3121908

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
@@ -32,7 +32,8 @@ jobs:
3232
echo Last version: ${last_version}
3333
new_version=$(echo ${NEW_TAG//v/""})
3434
echo New version: ${new_version}
35-
git config --local user.name "github-actions[bot]"
35+
git config --global user.name "github-actions[bot]"
36+
git config --global user.email "[email protected]"
3637
bumpversion --current-version $last_version --new-version $new_version setup.py
3738
- name: update changelog with gren
3839
env:
@@ -42,7 +43,8 @@ jobs:
4243
node_modules/.bin/gren changelog --override
4344
- name: Commit files
4445
run: |
45-
git config --local user.name "github-actions[bot]"
46+
git config --global user.name "github-actions[bot]"
47+
git config --global user.email "[email protected]"
4648
git add CHANGELOG.md
4749
git commit -m "Update ChangeLog"
4850
- name: Push changes

0 commit comments

Comments
 (0)