From dafa583f8b634c06edbe49efaa40253fa05a89db Mon Sep 17 00:00:00 2001 From: vidplace7 Date: Mon, 27 Jul 2026 16:33:48 -0400 Subject: [PATCH] Actions: Do not build meshtasticd for event/ branches Do not build MacOS, Windows, WASM, or Docker for event branches. --- .github/workflows/main_matrix.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index c3c035244d..d7a80fbc65 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -140,7 +140,7 @@ jobs: secrets: inherit MacOS: - if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} + if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} strategy: fail-fast: false matrix: @@ -155,7 +155,7 @@ jobs: # secrets: inherit Windows: - if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} + if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} strategy: fail-fast: false matrix: @@ -182,7 +182,7 @@ jobs: uses: ./.github/workflows/test_native.yml build-wasm: - if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} + if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} # Build the WebAssembly portduino node ([env:native-wasm]) as part of normal CI, # like the other platforms. It's a dedicated job (not a row in the `build` # matrix) because its artifact is meshnode.{mjs,wasm} - not a flashable @@ -191,7 +191,7 @@ jobs: uses: ./.github/workflows/build_portduino_wasm.yml docker: - if: ${{ github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} + if: ${{ !contains(github.ref_name, 'event/') && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' }} permissions: # Needed for pushing to GHCR. contents: read packages: write