ci-runner-indirection

Installation
SKILL.md

ci-runner-indirection

The headline lesson: put the provider behind a variable once, then migrate. A literal label such as runs-on: ubuntu-latest is copied into every workflow, so each provider change is a fleet-wide edit. A variable with a default turns the next change into one setting per repository.

The pattern

runs-on: ${{ vars.CI_RUNNER || 'boat' }}          # ordinary jobs
runs-on: ${{ vars.CI_RUNNER_LARGE || 'boat-8' }}  # heavy builds
  • The default keeps the workflow valid when the variable is unset.
  • Set the variable only where it is unset, so a deliberate override survives a re-run.
  • Use two variables, not one. A large job needs a different label than an ordinary job.

Rollout

Installs
1
GitHub Stars
1
First Seen
Nov 15, 2026