Skip to content

Commit

Permalink
Update sync_tx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored May 15, 2024
1 parent 10e4f2e commit daf5201
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/sync_tx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
branch: dev

0 comments on commit daf5201

Please sign in to comment.