Skip to content

Commit

Permalink
Update sync_translations.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Nov 4, 2024
1 parent 56a1763 commit de38c06
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/sync_translations.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run script on merge to dev by gitlocalize-app
name: gitlocalize sync

on:
workflow_dispatch:
Expand All @@ -20,6 +20,11 @@ jobs:
with:
python-version: 3.9

- name: Run script if manual dispatch
if: github.event_name == 'workflow_dispatch'
run: |
python scripts/sync_translations.py
- name: Run script if merged by gitlocalize-app[bot]
if: github.event_name == 'push' && github.event.head_commit.author.username == 'gitlocalize-app[bot]'
run: |
Expand Down

0 comments on commit de38c06

Please sign in to comment.