Skip to content

Commit 1479e27

Browse files
authored
Merge pull request #165 from fosslight/action
Fix the github action issue
2 parents ee8f8ce + 2a1acf7 commit 1479e27

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

0 commit comments

Comments
 (0)