Migrate
groundbox migrate rewrites the runs-on lines in .github/workflows and prints the diff. Name where you are coming from: github, blacksmith, depot or namespace.
groundbox migrate github --dry-run # print the diff, change nothing
groundbox migrate github- Each job gets auto size on a label of its own:
runs-on: groundbox-auto-and the job's id. A matrix job keeps one label. A job id used in more than one workflow file gets a name from its file in each of them:deployindeploy-api.ymlanddeploy-web.ymlbecomesgroundbox-auto-deploy-apiandgroundbox-auto-deploy-web. A label already in a file is kept. - The Ubuntu release carries over:
ubuntu-latest(26.04 at GitHub) andubuntu-26.04get labels ending in-ubuntu-2604, likegroundbox-auto-test-ubuntu-2604;ubuntu-24.04and older get 24.04. See Sizes and labels. - The size it had before does not carry over. Its first run gets 4 vCPU, then the size follows what its runs use. The summary says which jobs had more than 8 vCPU, and how to raise the cap.
--fixedmaps each job to the nearest size with a size in the name instead, likegroundbox-4vcpu.- macOS and Windows jobs move too, in every mode, to fixed labels (auto size is Linux only): see the table below. A Windows label that names its cores keeps that size, rounded up to one we have. GitHub's standard Windows runner (2 cores on a private repository) becomes
groundbox-windows-2vcpu, like for like; another vendor's label that names no size gets 4 vCPU. A condition that still names the old label (if: matrix.os == 'windows-latest') is listed as a warning to check. - Linux arm64 jobs move too, in every mode, to a fixed
groundbox-<N>vcpu-armlabel (see the table below):ubuntu-24.04-armandubuntu-22.04-arm, GitHub's standard arm64 runner (2 cores), becomegroundbox-2vcpu-arm; another label that names its cores keeps that size, rounded up to one we have. Ours run Ubuntu 24.04 only, so a label on another release gets a warning to check. - Windows on Arm (
windows-11-arm), and Namespace profiles named for macOS, Windows or Arm, are left as they are, with a warning.
| From | runs-on today | Becomes |
|---|---|---|
| github | macos-latest, macos-26, macos-15, macos-14, macos-14-xlarge, macos-15-large, macos-15-intel | groundbox-macos |
| github | windows-latest, windows-2022, windows-2025 | groundbox-windows-2vcpu |
| github | windows-latest-8-cores, windows-2025-16-cores | groundbox-windows-8vcpu, groundbox-windows-16vcpu |
| blacksmith | blacksmith-6vcpu-macos-15 | groundbox-macos |
| blacksmith | blacksmith-8vcpu-windows-2025 | groundbox-windows-8vcpu |
| depot | depot-macos-latest, depot-macos-15 | groundbox-macos |
| depot | depot-windows-2022, depot-windows-2022-8 | groundbox-windows-4vcpu, groundbox-windows-8vcpu |
| namespace | nscloud-macos-sonoma-arm64-6x14 | groundbox-macos |
| namespace | nscloud-windows-2022-amd64-8x32 | groundbox-windows-8vcpu |
| github | ubuntu-24.04-arm, ubuntu-22.04-arm | groundbox-2vcpu-arm |
| github | ubuntu-24.04-arm-8-cores | groundbox-8vcpu-arm |
| blacksmith | blacksmith-4vcpu-ubuntu-2404-arm | groundbox-4vcpu-arm |
| depot | depot-ubuntu-24.04-arm, depot-ubuntu-24.04-arm-8 | groundbox-2vcpu-arm, groundbox-8vcpu-arm |
| namespace | nscloud-ubuntu-24.04-arm64-8x32 | groundbox-8vcpu-arm |
Already on Groundbox with fixed labels? --to-auto moves those jobs to auto size. Each one starts at the size its runs of the last two weeks had. Jobs on the shared label groundbox get labels of their own too, so each gets its own size instead of the largest any job on groundbox needs. Flex labels stay as they are.
groundbox migrate --to-auto --dry-run
groundbox migrate --to-autoAn agent can get the same rewrite without the CLI: the MCP tool ci with action convert, or migrateWorkflows in the TypeScript SDK. Both return the new text and write nothing.