Skip to content

Commit

Permalink
update git config commands in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Dec 20, 2021
1 parent 4d11e33 commit e31e073
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.head_ref }}

- name: Set up `Go`
uses: actions/setup-go@v2
Expand Down Expand Up @@ -57,8 +56,8 @@ jobs:
cd ../scripts/gh-resto
yarn
cd ../..
git config --global user.email "${{ secrets.AUTHOR_EMAIL }}"
git config --global user.name "abdfnx"
git config user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
make ghrs
- name: Login to Docker Hub
Expand Down

0 comments on commit e31e073

Please sign in to comment.