overview.md

Route GitHub Actions jobs to any runner

RelayRunner routes each GitHub Actions job to the first runner in your list that can take it, from your own machines to hosted runners.

RelayRunner is a router for GitHub Actions. You tell it which runners a job may use, and it sends each job to the first one in your list that can take it right now: your laptop when it's online and free, a self-hosted runner your org already has, a hosted provider such as Blacksmith or Depot, or GitHub's hosted runners.

Your workflows stay the same. Checks keep their names, logs stay in GitHub, and you change where jobs go from the dashboard, not with a commit.

Why use it

How it fits together

jobs:
  relay-test:
    uses: relayrunner/actions/.github/workflows/relay.yml@v1
    with:
      machine: self-hosted # any machine in your workspace
      github: ubuntu-latest # when no machine is free

test:
    needs: relay-test
    runs-on: ${{ needs.relay-test.outputs.runner }}
    steps:
      - uses: actions/checkout@v4
      - run: npm test

Each job on a machine gets a fresh one-job runner, so nothing is left behind between jobs. Public repositories never run on your machines.

Next