From 4b5d355decb70906438dd957fd34ff2ef10842f9 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 4 Mar 2024 16:27:35 +0530 Subject: [PATCH] Do the same for auth and web --- .github/workflows/auth-crowdin.yml | 5 ++++- .github/workflows/mobile-crowdin.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auth-crowdin.yml b/.github/workflows/auth-crowdin.yml index e4c77b2de..a4800ea73 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 50ee9f72e..2dd3c4159 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