From daf5201e733d079e9feefd1396e8188580dd18c1 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Wed, 15 May 2024 02:00:37 +0100 Subject: [PATCH] Update sync_tx.yml --- .github/workflows/sync_tx.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync_tx.yml b/.github/workflows/sync_tx.yml index b03fc774786..2fd378e8ec5 100644 --- a/.github/workflows/sync_tx.yml +++ b/.github/workflows/sync_tx.yml @@ -19,12 +19,14 @@ jobs: uses: actions/setup-python@v1 with: python-version: 3.9 - - name: Run script if merged by gitlocalize-app - if: github.event_name == 'push' && github.event.pull_request.merged && github.event.pull_request.head.user.login == 'gitlocalize-app' + + - name: Run script if merged by gitlocalize-app[bot] + if: github.event_name == 'push' && github.event.head_commit.author.username == 'gitlocalize-app[bot]' run: | python scripts/sync_translations.py + - name: Commit to dev uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Update translations - branch: dev \ No newline at end of file + branch: dev