About organization-level runner controls
By default, Copilot cloud agent runs on a standard GitHub-hosted GitHub Actions runner (ubuntu-latest). As an organization owner, you can change the default runner type for all repositories in your organization, and choose whether individual repositories are allowed to override this default.
This is useful if your organization requires all Copilot cloud agent sessions to run on specific runners—for example, to use larger runners for better performance, or to use self-hosted runners that have access to internal resources.
You can configure:
- Runner type: Choose between a standard GitHub-hosted runner or a labeled runner from a specific runner group.
- Allow repositories to customize the runner type: Control whether repositories can override the organization default using a Copilot setup steps workflow defined at
.github/workflows/copilot-setup-steps.yml.
Configuring the default runner type
- In the upper-right corner of GitHub, click your profile picture, then click Organizations.
- Next to the organization, click Settings.
- In the sidebar, under "Code, planning, and automation", click Copilot, and then click Cloud agent.
- Next to "Runner type," click the pencil icon ().
- Select the runner type to use by default for Copilot cloud agent across your organization.
- Standard GitHub runner: Copilot cloud agent will use
ubuntu-latest. - Labeled runner: Copilot cloud agent will use a runner matching the group name and/or label you specify. Enter values in the Runner group name and/or Runner label fields.
- Standard GitHub runner: Copilot cloud agent will use
- Click Save runner selection.
Preventing repositories from customizing the runner type
By default, repositories can override the organization-level runner configuration using a Copilot setup steps workflow located at .github/workflows/copilot-setup-steps.yml. If you want to enforce a consistent runner type across all repositories, you can disable this option.
- In the upper-right corner of GitHub, click your profile picture, then click Organizations.
- Next to the organization, click Settings.
- In the sidebar, under "Code, planning, and automation", click Copilot, and then click Cloud agent.
- Under "Allow repositories to customize the runner type," toggle the setting to enable or disable repository-level customization.
- When enabled, repositories can override the default runner by setting the
runs-onfield in thecopilot-setup-stepsjob ofcopilot-setup-steps.yml. See Customizing the development environment for GitHub Copilot cloud agent. - When disabled, all repositories in your organization will use the organization-level runner type.
- When enabled, repositories can override the default runner by setting the
- Click Save.