From 54514126f23ac0044fcecb97ef7ee38085ad5a38 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Thu, 15 Feb 2024 11:14:55 +0100 Subject: [PATCH] ci: configure git user and email (#5284) Set Git user and email in the CD workflow to correctly push new tags. Fix #5283 --- .github/workflows/cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index bbf2472f..67c5e6a3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -253,6 +253,9 @@ jobs: - name: Tag major, minor, and latest versions if: steps.release.outputs.release_created run: | + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config user.name "github-actions[bot]" + git tag --annotate --force ${{ env.SEMVER_MAJOR_VERSION }} -m "Release ${{ env.SEMVER_MAJOR_VERSION }}" git tag --annotate --force latest -m "Release latest (${{ env.RELEASE_VERSION }})"