diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87a06761..979d95a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,8 +78,8 @@ jobs: tag: ${{ steps.tag_name.outputs.tag }} message: "Release ${{ steps.tag_name.outputs.tag }}" run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + git config user.name "$(git log -1 --pretty='%cn')" + git config user.email "$(git log -1 --pretty='%ce')" git tag -a "$tag" HEAD -m "$message" git push origin "$tag"