Improvement

October 28, 20251 Minute Read

Copilot coding agent now supports self-hosted runners

You can now configure Copilot coding agent’s development environment to run in your own infrastructure using self-hosted GitHub Actions runners managed by Actions Runner Controller (ARC). With this setup, you can give Copilot access to internal resources (e.g. packages) not available on the public internet.

Copilot coding agent is our asynchronous, autonomous background agent. Delegate a task to Copilot and it opens a draft pull request, makes changes in the background, and then requests a review from you. Copilot works in its own ephemeral development environment, powered by GitHub Actions, where it can run the repository’s build process, automated tests, and more.

ARC scale sets are supported as a runs-on: target for the copilot-setup-steps.yml configuration file when customizing the coding agent’s development environment. To get started:

  1. Deploy ARC and configure a scale set.
  2. Update the runs-on: target in copilot-setup-steps.yml to the scale set.
YAML
jobs:
  copilot-setup-steps:
    runs-on: arc-scale-set-name

For additional guidance, refer to our documentation on customizing the development environment for GitHub Copilot coding agent.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Copilot coding agent now supports self-hosted runners - GitHub Changelog