# GitHub-hosted

Using GitHub's own runners as a provider, and keeping an eye on minutes.

Copy page[View as Markdown](https://relayrunner.dev/docs/runners/github.md) [For AI agents](https://relayrunner.dev/docs/runners/github.txt)

**GitHub**

GitHub's own hosted runners, billed per minute in private repos.

Labels`ubuntu-*, windows-*, macos-*, or a larger runner's own name`Example`runs-on: ubuntu-latest`Links[Docs](https://docs.github.com/en/actions/reference/runners/github-hosted-runners)

GitHub-hosted runners are the usual fallback: always available, and billed against your plan.

## Use it

[Section titled “Use it”](/content/docs/runners/github/index.html#use-it)

Name a GitHub-hosted label in the relay’s `github` input, usually the job’s old `runs-on`:

```
relay-test:

uses: relayrunner/actions/.github/workflows/relay.yml@v1

with:

machine: self-hosted

github: ubuntu-latest
```

Keep **GitHub-hosted** in your [runner order](/content/docs/concepts/runner-order/index.html), usually last. A step with no limit always takes a job that names a `github` label, so it’s a safe last resort.

## Minutes

[Section titled “Minutes”](/content/docs/runners/github/index.html#minutes)

GitHub bills private repos by the minute, rounded up per job, and each plan includes some minutes a month. Standard runners in public repos are free. macOS minutes cost about ten times Linux minutes.

A GitHub-hosted step can be **capped** at a share of its included minutes, such as 80%, or at a monthly spend. It then only takes jobs while the job’s GitHub account is under the cap. Put another step after it to catch the rest. See [Spend controls](/content/docs/guides/spend-controls/index.html).

The **Usage** page shows each account’s minutes next to what your jobs would have cost. See [the minutes limit](/content/docs/concepts/runner-order/index.html#the-minutes-limit) for how it’s read.
