From 88a18663f615fc637c8835ab61d6eb5194467077 Mon Sep 17 00:00:00 2001 From: Austin Date: Sat, 1 Aug 2026 16:48:52 -0400 Subject: [PATCH] Actions: Restrict 'check' jobs to only run for pull requests and merge queue events (#11332) --- .github/workflows/main_matrix.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 99d84faf2..77177cece 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -107,7 +107,8 @@ jobs: # Runs on GitHub-hosted runners so checks don't compete with builds for the # self-hosted 'arctastic' pool (which builds use). runs-on: ubuntu-latest - if: github.repository_owner == 'meshtastic' && github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' && github.event.inputs.nightly != 'true' + # Only run checks for PRs and Merge Queue runs. + if: contains(fromJSON('["pull_request", "merge_group"]'), github.event_name) steps: - uses: actions/checkout@v7 with: