Skip to content

Commit 2f9a760

Browse files
committed
gha add git config
1 parent 7dad3b1 commit 2f9a760

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release_central.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ env:
2929
VERSION: ${{ inputs.version }}
3030
PREV_VERSION: ${{ inputs.prev_version }}
3131
DRY_RUN: ${{ inputs.dry_run }}
32+
GIT_USER: 'Laura Trotta'
33+
GIT_MAIL: laura.trotta@elastic.co
3234

3335
jobs:
3436
validate-version:
@@ -86,6 +88,8 @@ jobs:
8688

8789
- run: |
8890
cd elasticsearch-java
91+
git config user.name "$GIT_USER"
92+
git config user.email "$GIT_MAIL"
8993
git tag v${{ inputs.version }}
9094
git push origin v${{ inputs.version }}
9195
echo ${{ inputs.version }} > config/version.txt

0 commit comments

Comments
 (0)