1. Measure a baseline by job and runner

Choose a recent period with a representative workload, such as 14 days. List workflow jobs and rerun attempts. Record the workflow, job, runner label, operating system, execution time, queue time, and run conclusion. Count work that ran on a hosted runner, including failed attempts. Keep queue time in its own column so you can spot delays after moving a job.

Group hosted execution minutes by operating system and runner class. Compare those totals with your billing export for the same period and account scope. Included usage, runner rates, and billing rules can change the dollar amount. GitHub Actions billing documentation

Illustrative 14-day baseline for one repository
Job laneRunnerHosted minutes
Integration testsHosted Linux320
macOS packagingHosted macOS120
Public PR checksIsolated hosted Linux60

2. Move one trusted, portable job to a home runner

Pick a job you can already run locally, such as Linux integration tests with pinned dependencies. Use a dedicated machine or isolated runner environment, scope it to the repository, and give it a label for that workload. Route jobs from trusted branches or explicitly approved code to that label. Keep fork PRs and other untrusted code on isolated runners suited to that work. GitHub’s guidance for securing Actions workflows

Run the same test suite against the same code on both lanes first and compare test outcomes and artifacts. Record build time and wait time separately. Leave platform-specific packaging where it can run reliably. Decide up front whether a busy or offline home runner should wait for capacity or allow a hosted fallback under budget.

3. Add a budget gate before pushing or dispatching

Check the expected hosted usage before triggering paid work. Count running and queued reservations alongside completed usage so two agents can’t both spend the same remaining budget. Evaluate daily and billing-period caps independently. Give local-only jobs their own routing rule so they can proceed while paid capacity is held.

Cap for the current window       100 hosted minutes
Completed hosted usage           72 hosted minutes
Already reserved                 18 hosted minutes
Estimated next push              16 hosted minutes
Projected total                  106 hosted minutes
Decision                         HOLD

Copy the worksheet and replace the four inputs with values for your repo. Use a consistent budget unit within each window. For a dollar cap, estimate each hosted runner class with its own rate before adding the costs.

When the gate returns HOLD, record the validated commit and the reason. When the budget reopens, confirm that the queued commit is still the branch head and its local validation still applies before releasing it. Required CI and approvals still gate the merge. Reconcile the reservation with actual usage when the job finishes. Pair this dispatch policy with your account-level controls for workflows triggered outside the gate. GitHub’s guide to setting up budgets

4. Compare hosted minutes, queue time, and billed charges

For the same volume of work, moving the 320-minute test lane to a home runner would leave 180 hosted minutes in this example, a 64% reduction in raw hosted minutes. Compare the remaining lanes separately since a macOS minute and a Linux minute can cost different amounts. Record local queue time and any hosted fallback minutes that occurred during the new period.

Label the difference as modeled avoided usage until it’s reflected in the billing export. Track local machine and power costs separately if you’re comparing total spend. If queue time grows, try moving fewer runs first or adjusting the fallback policy within the cap.

Get early access to CI budget controls

Join the ShipBay Founding Waitlist for launch updates.

Join the Founding Waitlist