Skip to content

Commit 9f168df

Browse files
committed
fix: git config
1 parent 0f49374 commit 9f168df

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/reusable-i18n.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
token: ${{ secrets.GIT_COMMITTER_TOKEN }}
2222

2323
- name: Configure Git
24+
env:
25+
GIT_COMMITTER_NAME: ${{ vars.GIT_COMMITTER_NAME || 'github-actions[bot]' }}
26+
GIT_COMMITTER_EMAIL: ${{ vars.GIT_COMMITTER_EMAIL || 'github-actions[bot]@users.noreply.github.com' }}
2427
run: |
2528
git config user.name "$GIT_COMMITTER_NAME"
2629
git config user.email "$GIT_COMMITTER_EMAIL"

.github/workflows/reusable-post-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
token: ${{ secrets.GIT_COMMITTER_TOKEN }}
2626

2727
- name: Configure Git
28+
env:
29+
GIT_COMMITTER_NAME: ${{ vars.GIT_COMMITTER_NAME || 'github-actions[bot]' }}
30+
GIT_COMMITTER_EMAIL: ${{ vars.GIT_COMMITTER_EMAIL || 'github-actions[bot]@users.noreply.github.com' }}
2831
run: |
2932
git config user.name "$GIT_COMMITTER_NAME"
3033
git config user.email "$GIT_COMMITTER_EMAIL"

0 commit comments

Comments
 (0)