You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/concepts/agents/code-review.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,13 +97,16 @@ If {% data variables.product.prodname_actions %} is unavailable or if Actions wo
97
97
98
98
### Usage of {% data variables.product.prodname_actions %} runners for agentic capabilities in code review
99
99
100
-
{% data variables.copilot.copilot_code-review_short %} uses free minutes for {% data variables.product.prodname_actions %} to run the agentic capabilities, including full project context gathering and any capabilities in {% data variables.release-phases.public_preview %}. By default, {% data variables.copilot.copilot_code-review_short %} uses {% data variables.product.prodname_dotcom %}-hosted runners.
100
+
{% data variables.copilot.copilot_code-review_short %} uses free minutes for {% data variables.product.prodname_actions %} to run the agentic capabilities, including full project context gathering and any capabilities in {% data variables.release-phases.public_preview %}. By default, {% data variables.copilot.copilot_code-review_short %} uses {% data variables.product.prodname_dotcom %}-hosted runners. You can also upgrade to larger {% data variables.product.prodname_dotcom %}-hosted runners for better performance.
101
+
102
+
> [!NOTE]
103
+
> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed per-minute and may incur additional {% data variables.product.prodname_actions %} charges.
101
104
102
105
You do not need to have {% data variables.product.prodname_actions %} enabled in your organization or enterprise to use the agentic capabilities in code review.
103
106
104
-
If your organization has disabled {% data variables.product.prodname_dotcom %}-hosted runners, the agentic capabilities will not be available. In this case, code reviews will fall back to a more limited review.
107
+
If your organization has disabled {% data variables.product.prodname_dotcom %}-hosted runners, the agentic capabilities will not be available. In this case, code reviews will fall back to a more limited review. Organizations in this situation can use self-hosted runners.
105
108
106
-
Organizations in this situation can use self-hosted runners. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/request-a-code-review/configure-self-hosted-runners).
109
+
For more information on configuring runners, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/request-a-code-review/configure-runners).
Copy file name to clipboardExpand all lines: content/copilot/how-tos/use-copilot-agents/request-a-code-review/configure-runners.md
+32-3Lines changed: 32 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
---
2
-
title: Configuring self-hosted runners for GitHub Copilot code review
3
-
shortTitle: Configure self-hosted runners
4
-
intro: 'Learn how to configure self-hosted runners for {% data variables.copilot.copilot_code-review_short %}.'
2
+
title: Configuring runners for GitHub Copilot code review
3
+
shortTitle: Configure runners
4
+
intro: 'Learn how to configure self-hosted runners or upgrade to larger {% data variables.product.prodname_dotcom %}-hosted runners for {% data variables.copilot.copilot_code-review_short %}.'
{% data reusables.copilot.code-review.code-review-actions-usage %} Organizations in this situation can use self-hosted runners.
16
18
19
+
You can also upgrade to larger {% data variables.product.prodname_dotcom %}-hosted runners for better performance.
20
+
17
21
## Configuring self-hosted runners for code review
18
22
19
23
You can run {% data variables.copilot.copilot_code-review_short %} using self-hosted {% data variables.product.prodname_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 [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/about-actions-runner-controller).
@@ -43,3 +47,28 @@ To configure self-hosted runners for {% data variables.copilot.copilot_code-revi
43
47
runs-on: arc-scale-set-name
44
48
# ...
45
49
```
50
+
51
+
## Upgrading to larger {% data variables.product.prodname_dotcom %}-hosted {% data variables.product.prodname_actions %} runners
52
+
53
+
By default, {% data variables.copilot.copilot_code-review_short %} works in a standard {% data variables.product.prodname_actions %} runner. You can upgrade to larger runners for better performance (CPU and memory), more disk space, and advanced features like Azure private networking. For more information, see [AUTOTITLE](/actions/using-github-hosted-runners/using-larger-runners/about-larger-runners).
54
+
55
+
> [!NOTE]
56
+
> Usage of larger {% data variables.product.prodname_dotcom %}-hosted runners is billed per-minute and may incur additional {% data variables.product.prodname_actions %} charges.
57
+
58
+
1. Set up larger runners for your organization. For more information, see [AUTOTITLE](/actions/using-github-hosted-runners/managing-larger-runners).
59
+
1. If you are using larger runners with Azure private networking, configure your Azure private network to allow outbound access to the following hosts:
60
+
61
+
*`api.githubcopilot.com`
62
+
*`uploads.github.com`
63
+
*`user-images.githubusercontent.com`
64
+
65
+
1. In your `copilot-setup-steps.yml` file, set the `runs-on` attribute to the label for the larger runners you want {% data variables.copilot.copilot_code-review_short %} to use. For more information on specifying larger runners with `runs-on`, see [AUTOTITLE](/actions/using-github-hosted-runners/running-jobs-on-larger-runners).
0 commit comments