Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.62 KB

File metadata and controls

44 lines (28 loc) · 1.62 KB

Optimize Runner Usage

Add paths-ignore, concurrency groups, and timeout-minutes to existing GitHub Actions workflows.

Type: Command Trigger: /optimize-runner-usage

Installation

Add the cboone/cboone-cc-plugins marketplace in Claude Code:

/plugin marketplace add cboone/cboone-cc-plugins

Then select Optimize Runner Usage from the available plugins.

What It Does

Scans all workflow files in .github/workflows/, classifies each one by its trigger pattern (CI, Release, Secret scanning, etc.), and adds missing optimizations:

  • paths-ignore: Skip CI runs for documentation-only changes (root-level *.md, docs/**, LICENSE, agent config files)
  • Concurrency groups: Cancel in-progress runs when new commits are pushed to the same branch
  • timeout-minutes: Prevent runaway jobs from consuming unlimited minutes

Each optimization is applied only where appropriate. For example, paths-ignore is added to CI workflows but not to release or secret scanning workflows. Release workflows use cancel-in-progress: false to avoid aborting deployments.

Usage

/optimize-runner-usage

Examples

  • "optimize runner usage": scans workflows and applies all three optimizations
  • "add concurrency groups to my workflows": same behavior (all three are checked)
  • "reduce CI costs": same behavior

See Also