Actions: Restrict 'check' jobs to only run for pull requests and merge queue events (#11332)

This commit is contained in:
Austin
2026-08-01 20:48:52 +00:00
committed by GitHub
parent dc67d3b7e8
commit 88a18663f6
+2 -1
View File
@@ -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: