About GitHub Actions usage for code review tools
Copilot 코드 검토는 공개 미리 보기의 전체 프로젝트 컨텍스트 수집 및 모든 기능을 포함한 에이전트 기능을 실행하기 위해 GitHub Actions을 사용합니다. 기본적으로 Copilot 코드 검토은 GitHub 호스티드 러너를 사용합니다.
조직에서 GitHub 호스트 실행기를 비활성화한 경우, 에이전트 역량을 사용할 수 없습니다. 이 경우 코드 검토는 더 제한된 검토로 대체됩니다. Organizations in this situation can use self-hosted runners.
You can also upgrade to larger GitHub-hosted runners for better performance.
Configure self-hosted runners for code review
Run Copilot 코드 검토 using self-hosted GitHub Actions runners with ARC (Actions Runner Controller). You must first set up ARC-managed scale sets in your environment. For more information on ARC, see Actions Runner 컨트롤러.
경고
ARC is the only officially supported solution for self-hosting Copilot 코드 검토. For security reasons, do not use non-ARC self-hosted runners.
Copilot 코드 검토 is only compatible with Ubuntu x64 Linux runners.
To configure self-hosted runners for Copilot 코드 검토:
-
Configure network security controls for your GitHub Actions runners to ensure that Copilot 코드 검토 does not have open access to your network or the public internet.
You must configure your firewall to allow connections to the standard hosts required for GitHub Actions self-hosted runners, plus the following hosts:
api.githubcopilot.comuploads.github.comuser-images.githubusercontent.com
-
In your
copilot-setup-steps.ymlfile, set theruns-onattribute to your ARC-managed scale set name. For more information, see GitHub Copilot 클라우드 에이전트에 대한 개발 환경 사용자 지정.# ... jobs: copilot-setup-steps: runs-on: arc-scale-set-name # ...
Upgrade to larger GitHub-hosted GitHub Actions runners
By default, Copilot 코드 검토 runs on a standard GitHub Actions runner. Larger runners provide better performance (CPU and memory), more disk space, and advanced features like Azure private networking. See 더 큰 주자들.
참고
Usage of larger GitHub-hosted runners is billed per-minute and may incur additional GitHub Actions charges.
-
Set up larger runners for your organization. See 대형 런너 관리하기.
-
If you are using larger runners with Azure private networking, configure your Azure private network to allow outbound access to the following hosts:
api.githubcopilot.comuploads.github.comuser-images.githubusercontent.com
-
In your
copilot-setup-steps.ymlfile, set theruns-onattribute to the label for the larger runners you want Copilot 코드 검토 to use. See 더 큰 실행기에서 작업 실행.# ... jobs: copilot-setup-steps: runs-on: ubuntu-4-core # ...