move over.txt

RelayRunner docs: Move your workflows over Page: https://relayrunner.dev/docs/get-started/move-over Markdown: https://relayrunner.dev/docs/get-started/move-over.md All pages: https://relayrunner.dev/docs/llms.txt

Other pages (Markdown):


Move your workflows over

What relayrunner init changes in your GitHub Actions workflows, and which jobs it leaves alone.

Routing a job through RelayRunner is one change: a relay job in front of it, and a runs-on that points at the relay's answer. relayrunner init makes that change for you.

Run init

Inside a checkout of the repo:

npx relayrunner init

It sorts every job into three groups and lets you pick from the first:

To see the list without changing anything, run relayrunner init --plan. To route jobs without prompts, run relayrunner init --apply test,lint, or --apply all for every ready job. Add --exact to keep each job on its old label instead of writing its shape.

Route repos from the dashboard

On the dashboard's Router page, Route a repo takes you through one repo at a time:

  1. Pick a repo. Repos your org's Default runner group leaves out are marked, with the fix.
  2. Pick its jobs from recent runs, and a size for each if you want one other than the default.
  3. Copy a prompt for your coding agent, which runs init and opens a PR, or copy the init command.

After you copy, the sheet waits for the repo's first routed run and says when it's routed. Next repo moves on, and from the second repo one prompt can cover the rest.

What it writes

For a job like this:

jobs:
  test:
    runs-on: ubuntu-latest
    steps: ...

init writes:

jobs:
  relay-test:
    uses: relayrunner/actions/.github/workflows/relay.yml@v1
    with:
      os: linux

test:
    needs: relay-test
    runs-on: ${{ needs.relay-test.outputs.runner }}
    steps: ...

The relay gets what the job needs, read from its old label, so any runner on your Router page can take it: your machines first, then your runner order.

Old label Relay inputs
ubuntu-latest os: linux
ubuntu-24.04-arm os: linux, arch: arm64
macos-15 os: macos
macos-13 os: macos, arch: x64
blacksmith-8vcpu-ubuntu-2404 os: linux, cpus: 8

cpus only appears when the label asks for more than a standard 2 CPU runner. Without it, you set the job's size on the Router page, with no commit. See relay.yml inputs. To keep a job on its old label instead, run init with --exact. init keeps your comments and formatting, and never commits.

Push the change. The check keeps its name in GitHub, so required checks and branch protection keep working.

Jobs it skips

Public repos

init refuses public repositories, since their jobs never run on your machines.

Undo

Delete the relay job and put the old label back in runs-on. Or leave the change in place: with no machine online and GitHub in your runner order, jobs run on their old label anyway.