From be6dbd565d7b328bb9e69b77a010d5b45fa15cd4 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Fri, 3 Oct 2025 12:18:17 -0500 Subject: [PATCH] ci(workflows): configure git user for release workflows (#3311) --- .github/workflows/create-internal-release.yml | 6 ++++++ .github/workflows/promote-release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/create-internal-release.yml b/.github/workflows/create-internal-release.yml index 57595cad3..151f103c3 100644 --- a/.github/workflows/create-internal-release.yml +++ b/.github/workflows/create-internal-release.yml @@ -46,6 +46,12 @@ jobs: echo "DRY RUN: Would create tag ${{ steps.tag.outputs.internal_tag }} pointing to $(git rev-parse HEAD)" git log -5 --oneline + - name: Configure Git User + if: ${{ inputs.dry_run != 'true' }} + run: | + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + - name: Create and Push Tag if: ${{ inputs.dry_run != 'true' }} run: | diff --git a/.github/workflows/promote-release.yml b/.github/workflows/promote-release.yml index 5746e2fe5..1bb13f7bb 100644 --- a/.github/workflows/promote-release.yml +++ b/.github/workflows/promote-release.yml @@ -171,6 +171,12 @@ jobs: echo "Current stage: ${{ steps.current.outputs.current_stage }} -> Target: ${{ steps.decide.outputs.target_stage }}" git log -1 --oneline ${{ steps.commit.outputs.commit_sha }} + - name: Configure Git User + if: ${{ inputs.dry_run != 'true' }} + run: | + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + - name: Create & Push Tag if: ${{ inputs.dry_run != 'true' }} run: |