diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index eb2b8b7c4..1bf85cde3 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -13,13 +13,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