From fe021870ee3516f6a85b1efae6c6fb1ccdcb5921 Mon Sep 17 00:00:00 2001 From: trymzet Date: Mon, 26 Aug 2024 19:30:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Try=20another=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/detect-and-tag-new-version.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/detect-and-tag-new-version.yml b/.github/workflows/detect-and-tag-new-version.yml index 506c9f46a..16cad4f7d 100644 --- a/.github/workflows/detect-and-tag-new-version.yml +++ b/.github/workflows/detect-and-tag-new-version.yml @@ -35,7 +35,13 @@ jobs: with: tag: v${{ steps.get-version.outputs.version }} - - uses: fregante/setup-git-user@v2 + - name: Set up git user + # Note: we cannot use the default user here or things like fregante/setup-git-user@v1 + # because this will magically not trigger the cd.yml workflow (it turns out the on:push:tags + # trigger does not work for tags pushed by the GitHub Actions bot). + run: | + git config --global user.email "ludovico@dyvenia.com" + git config --global user.name "Ludovico Bot" - name: Publish the new tag # Trigger the cd.yml workflow if a new tag is detected.