Skip to content

Commit 9608680

Browse files
committed
cicd: change author configuring for a tag
1 parent bb122d6 commit 9608680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
tag: ${{ steps.tag_name.outputs.tag }}
7979
message: "Release ${{ steps.tag_name.outputs.tag }}"
8080
run: |
81-
git config user.name "${GITHUB_ACTOR}"
82-
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
81+
git config user.name "$(git log -1 --pretty='%cn')"
82+
git config user.email "$(git log -1 --pretty='%ce')"
8383
git tag -a "$tag" HEAD -m "$message"
8484
git push origin "$tag"
8585

0 commit comments

Comments
 (0)