From 0f48bc4904b762010989089c2308f6a2a4a8078a Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 15 Jan 2025 14:18:32 -0800 Subject: [PATCH] chore(i18n): run workflow every hour + download translations for PR --- .github/workflows/translations.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 1b03fc154..6b1f9d10b 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -1,6 +1,9 @@ name: Translation job on: + schedule: + # Run the workflow every hour + - cron: "0 * * * *" push: paths: - 'web/i18n/en/translation.json' @@ -36,11 +39,12 @@ jobs: uses: crowdin/github-action@v1 with: upload_sources: true - download_translations: false + download_translations: true create_pull_request: true pull_request_title: 'New Translations' localization_branch_name: translations pull_request_base_branch_name: 'develop' + commit_message: 'Updated translations' config: crowdin.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}