diff --git a/.github/workflows/auth-crowdin.yml b/.github/workflows/auth-crowdin.yml index e4c77b2debb2ea24292c62ea0517497fb2609ef6..a4800ea738e4b893be2a495cb0ea0e8e95f45705 100644 --- a/.github/workflows/auth-crowdin.yml +++ b/.github/workflows/auth-crowdin.yml @@ -2,9 +2,11 @@ name: "Sync Crowdin translations (auth)" on: push: - # Run action when auth's intl_en.arb is changed paths: + # Run action when auth's intl_en.arb is changed - "mobile/lib/l10n/arb/app_en.arb" + # Or the workflow itself is changed + - ".github/workflows/auth-crowdin.yml" branches: [main] schedule: # Run every 24 hours - https://crontab.guru/#0_*/24_*_*_* @@ -23,6 +25,7 @@ jobs: uses: crowdin/github-action@v1 with: base_path: "auth/" + config: "auth/crowdin.yml" upload_sources: true upload_translations: true download_translations: true diff --git a/.github/workflows/mobile-crowdin.yml b/.github/workflows/mobile-crowdin.yml index 50ee9f72e97d6c8ebbdf59f02438c76e26032a0c..2dd3c41592c8cea4e43506dbf413f0747761dd04 100644 --- a/.github/workflows/mobile-crowdin.yml +++ b/.github/workflows/mobile-crowdin.yml @@ -2,9 +2,11 @@ name: "Sync Crowdin translations (mobile)" on: push: - # Run action when mobiles's intl_en.arb is changed paths: + # Run action when mobiles's intl_en.arb is changed - "mobile/lib/l10n/intl_en.arb" + # Or the workflow itself is changed + - ".github/workflows/mobile-crowdin.yml" branches: [main] schedule: # Run every 24 hours - https://crontab.guru/#0_*/24_*_*_* @@ -23,6 +25,7 @@ jobs: uses: crowdin/github-action@v1 with: base_path: "mobile/" + config: "mobile/crowdin.yml" upload_sources: true upload_translations: true download_translations: true diff --git a/.github/workflows/web-crowdin.yml b/.github/workflows/web-crowdin.yml index 880b270c72b68262fcfa22179ee505a7326e512f..3ff0c9662f6c5214507d02f48ecc13274453ce4b 100644 --- a/.github/workflows/web-crowdin.yml +++ b/.github/workflows/web-crowdin.yml @@ -2,9 +2,11 @@ name: "Sync Crowdin translations (web)" on: push: - # Run action when web's en-US/translation.json is changed paths: + # Run action when web's en-US/translation.json is changed - "web/apps/photos/public/locales/en-US/translation.json" + # Or the workflow itself is changed + - ".github/workflows/web-crowdin.yml" branches: [main] schedule: # Run every 24 hours - https://crontab.guru/#0_*/24_*_*_* @@ -23,6 +25,7 @@ jobs: uses: crowdin/github-action@v1 with: base_path: "web/" + config: "web/crowdin.yml" upload_sources: true upload_translations: true download_translations: true