ci(workflows): configure git user for release workflows (#3311)

This commit is contained in:
James Rich
2025-10-03 12:18:17 -05:00
committed by GitHub
parent 7c70b7faee
commit be6dbd565d
2 changed files with 12 additions and 0 deletions

View File

@@ -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: |

View File

@@ -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: |