From d8fb60ba7fe56998868a06a69bbcf19715ff5a62 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 12 May 2023 17:52:21 -0300 Subject: [PATCH] Fix tag creation in deploy workflow As commented in #905, an annotated tag needs a configured user. --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6111ae1..86d55d5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,5 +43,7 @@ jobs: - name: Push tag run: | + git config user.name "pytest bot" + git config user.email "pytestbot@gmail.com" git tag --annotate --message=v${{ github.event.inputs.version }} v${{ github.event.inputs.version }} ${{ github.sha }} git push origin v${{ github.event.inputs.version }}