skip test and lint on scheduled-updates (#2367)

This commit is contained in:
DaneEvans 2025-07-07 21:44:11 +10:00 committed by GitHub
parent a3a68faa47
commit 47044eb25a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,8 @@ name: Android CI (PR)
on:
pull_request:
branches: [ main ]
branches:
- main
concurrency:
group: build-pr-${{ github.ref }}
@ -10,7 +11,7 @@ concurrency:
jobs:
build_and_detekt:
if: github.repository == 'meshtastic/Meshtastic-Android'
if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates'
uses: ./.github/workflows/reusable-android-build.yml
secrets:
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
@ -18,7 +19,7 @@ jobs:
androidTest:
# AssumingandroidTest should also only run for the main repository
if: github.repository == 'meshtastic/Meshtastic-Android'
if: github.repository == 'meshtastic/Meshtastic-Android' && github.head_ref != 'scheduled-updates'
uses: ./.github/workflows/reusable-android-test.yml
with:
api_levels: '[35]' # Run only on API 35 for PRs