Meshtastic-Android/.github/workflows/merge-queue.yml
James Rich 929dc5e6f0
Fix: Satisfy merge queue check for scheduled updates (#2420)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-07-11 22:54:19 +00:00

35 lines
1.1 KiB
YAML

name: Android CI (Merge Queue)
on:
merge_group:
types: [checks_requested]
concurrency:
group: build-mq-${{ github.ref }}
cancel-in-progress: true
jobs:
# New job to satisfy the required check for the merge queue
scheduled_updates:
if: github.repository == 'meshtastic/Meshtastic-Android' # Keep consistent with other jobs
runs-on: ubuntu-latest
steps:
- name: Always pass merge queue scheduled_updates check
run: echo "This check is primarily for PR entry; passing in merge queue."
build_and_detekt:
if: github.repository == 'meshtastic/Meshtastic-Android'
uses: ./.github/workflows/reusable-android-build.yml
with:
upload_artifacts: false
secrets:
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
androidTest:
if: github.repository == 'meshtastic/Meshtastic-Android'
uses: ./.github/workflows/reusable-android-test.yml
with:
api_levels: '[26, 35]' # Run on both API 26 and 35 for merge queue
upload_artifacts: false
secrets:
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}