Keep GitHub Actions spend down on Meshtastic-Android - avoid redundant runs, cancel superseded ones, and pick the narrowest CI path for the change. Use this whenever you are about to push repeatedly, re-run a workflow, touch `.github/workflows/`, or someone asks why CI is slow, queued or expensive.
72
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Guidelines for agents to minimize GitHub Actions compute waste and prevent redundant or failing CI runs.
Before pushing code that triggers a CI workflow, you MUST check if a relevant run is already in progress:
gh run list --branch $(git branch --show-current) --limit 5gh run cancel <run_id>.NEVER use CI as a "remote compiler."
./gradlew spotlessApply spotlessCheck detekt assembleDebug test allTests locally before pushing.pull-request.yml's check-changes filter already skips the heavy pipeline for docs-only
changes, and merge-queue.yml skips it for docs-only merge-group entries (docs/**, *.md).
Don't defeat that by bundling an unrelated source edit into a docs PR — a one-line README fix
should not be paying for the multi-OS desktop matrix. If you add a new top-level module, add its
<root>/** line to the android: filter, or the drift guard fails the PR.
Use gh run view <run_id> to inspect failures. Do not re-run a whole suite if only one shard failed due to a known flake; use gh run rerun --failed.
d003a21
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.