Skip to content

Commit daf5201

Browse files
authored
Update sync_tx.yml
1 parent 10e4f2e commit daf5201

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/sync_tx.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ jobs:
1919
uses: actions/setup-python@v1
2020
with:
2121
python-version: 3.9
22-
- name: Run script if merged by gitlocalize-app
23-
if: github.event_name == 'push' && github.event.pull_request.merged && github.event.pull_request.head.user.login == 'gitlocalize-app'
22+
23+
- name: Run script if merged by gitlocalize-app[bot]
24+
if: github.event_name == 'push' && github.event.head_commit.author.username == 'gitlocalize-app[bot]'
2425
run: |
2526
python scripts/sync_translations.py
27+
2628
- name: Commit to dev
2729
uses: stefanzweifel/git-auto-commit-action@v4
2830
with:
2931
commit_message: Update translations
30-
branch: dev
32+
branch: dev

0 commit comments

Comments
 (0)