From 96086806d56404e65e82fc17a144506e98d30e43 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Sat, 8 Apr 2023 05:14:12 +0300 Subject: [PATCH] cicd: change author configuring for a tag --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"