chore(ci): back out pr workflow change

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich
2025-08-14 17:18:29 -05:00
committed by GitHub
parent 3c2e29ec0c
commit 7eebcacb36

View File

@@ -5,13 +5,6 @@ on:
branches:
- main
workflow_dispatch:
inputs:
branch:
description: 'Branch to run checks against'
required: true
default: 'main'
type: string
concurrency:
group: build-pr-${{ github.ref }}
@@ -20,13 +13,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'
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'
uses: ./.github/workflows/reusable-android-test.yml
with:
api_levels: '[35]' # Run only on API 35 for PRs