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