Skip to main content

ci-cost-control

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.

소스 정보

저장소
meshtastic/Meshtastic-Android
최근 소스 활동
2026년 9월 29일 18:22
감지된 SKILL.md 언어
영어
스타
1,872
포크
528

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ci-cost-control
description
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.
# Skill: CI Cost Control & Monitoring ## Description Guidelines for agents to minimize GitHub Actions compute waste and prevent redundant or failing CI runs. ## Rules ### 1. Check Before You Kick Before pushing code that triggers a CI workflow, you **MUST** check if a relevant run is already in progress: ```bash gh run list --branch $(git branch --show-current) --limit 5 ``` - If a run is pending/running for your current state, **DO NOT** push again unless you are fixing a specific CI failure. - Cancel redundant runs if your new push supersedes them: `gh run cancel <run_id>`. ### 2. Local First NEVER use CI as a "remote compiler." - You must run `./gradlew spotlessApply spotlessCheck detekt detektTypeResolved assembleDebug test allTests` locally before pushing. - If local tests fail, CI **will** fail. Do not waste the tokens or the compute. ### 3. Let the path filters do their job `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. ## Monitoring 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`.
GitHub에서 보기