Update pull-request.yml (#2727)

This commit is contained in:
James Rich 2025-08-14 15:47:31 -05:00 committed by GitHub
parent aafb118148
commit 418fa2a3cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,13 +14,13 @@ concurrency:
jobs:
build_and_detekt:
if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates' && github.head.ref != `l10n_main`
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' && github.head.ref != `l10n_main`
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