Skip to content

Commit d4f4c0b

Browse files
committed
Fix the Git user setup in the translation workflow
1 parent cfd358b commit d4f4c0b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/translation.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
steps:
1717
- name: Grab the repo src
1818
uses: actions/checkout@v2
19+
- name: Setup git user as [bot]
20+
# Refs:
21+
# * https://github.community/t/github-actions-bot-email-address/17204/6
22+
# * https://github.com/actions/checkout/issues/13#issuecomment-724415212
23+
uses: fregante/setup-git-user@v1.0.1
1924

2025
- name: Set up Python
2126
uses: actions/setup-python@v2
@@ -31,8 +36,6 @@ jobs:
3136

3237
- name: Commit the POT file to Git
3338
run: |
34-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
35-
git config --local user.name "github-actions[bot]"
3639
git_hash=$(git rev-parse --short "${GITHUB_SHA}")
3740
git commit -m "Update messages.pot as of version ${git_hash}" locales/messages.pot
3841

0 commit comments

Comments
 (0)