From c203d18c7c9e298285f78b2eacfbbd63ccad888f Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Thu, 14 Aug 2025 14:44:31 -0500 Subject: [PATCH] chore: configure Crowdin integration (#2724) --- .github/workflows/pull-request.yml | 4 ++-- crowdin.yml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 63815d478..9a4991e4e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -14,13 +14,13 @@ concurrency: jobs: build_and_detekt: - if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates' + if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates' && github.head.ref != `l10n_main` uses: ./.github/workflows/reusable-android-build.yml secrets: inherit androidTest: # Assuming androidTest should also only run for the main repository - if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates' + if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates' && github.head.ref != `l10n_main` uses: ./.github/workflows/reusable-android-test.yml with: api_levels: '[35]' # Run only on API 35 for PRs diff --git a/crowdin.yml b/crowdin.yml index 34e69851e..c9851180e 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,7 @@ +pull_request_labels: + - automation + - l10n +commit_message: "[skip ci] Update translations from Crowdin" files: - source: /*/src/main/res/values/strings.xml translation: /%original_path%-%two_letters_code%/strings.xml