From bc0b99a116fc0238268811c5ae6476dbda6ecd0f Mon Sep 17 00:00:00 2001 From: Uwe Maucher <205777204+umaucher@users.noreply.github.com> Date: Fri, 10 Jul 2026 10:47:10 +0200 Subject: [PATCH] ci: add git config to prepare-release tag creation step Fixes: prepare-release job fails with 'empty ident name' when creating tags. --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 485904ee..eaa133a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,6 +61,8 @@ jobs: - name: Create and push tag id: create-tag run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" TAG="v${{ inputs.version }}" git tag -a "$TAG" -m "Release $TAG" git push origin "$TAG" @@ -85,10 +87,8 @@ jobs: release-verification: needs: [prepare-release] if: | - always() && ( - github.event_name == 'release' || - github.event_name == 'workflow_dispatch' - ) + github.event_name == 'release' || + (github.event_name == 'workflow_dispatch' && (inputs.dry_run || needs.prepare-release.result != 'failure')) runs-on: ubuntu-latest permissions: contents: write