Skip to content

Commit 6450dc4

Browse files
authored
Merge branch 'main' into patch-1
2 parents afa2aa2 + 6ba407b commit 6450dc4

File tree

58 files changed

+492
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+492
-222
lines changed
452 KB
Loading
391 KB
Loading

content/admin/data-residency/network-details-for-ghecom.md

Lines changed: 35 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,39 +36,34 @@ To access your enterprise on {% data variables.enterprise.data_residency_site %}
3636

3737
These are {% data variables.product.company_short %}'s IP address ranges for enterprises hosted in the EU.
3838

39-
#### Ranges for egress traffic
40-
41-
* 108.143.221.96/28
42-
* 20.61.46.32/28
43-
* 20.224.62.160/28
44-
* 51.12.252.16/28
45-
* 74.241.131.48/28
46-
* 20.240.211.176/28
47-
48-
#### Ranges for ingress traffic
49-
50-
* 108.143.197.176/28
51-
* 20.123.213.96/28
52-
* 20.224.46.144/28
53-
* 20.240.194.240/28
54-
* 20.240.220.192/28
55-
* 20.240.211.208/28
39+
| Ranges for egress traffic | Ranges for ingress traffic |
40+
|--------------------------|---------------------------|
41+
| 108.143.221.96/28 | 108.143.197.176/28 |
42+
| 20.61.46.32/28 | 20.123.213.96/28 |
43+
| 20.224.62.160/28 | 20.224.46.144/28 |
44+
| 51.12.252.16/28 | 20.240.194.240/28 |
45+
| 74.241.131.48/28 | 20.240.220.192/28 |
46+
| 20.240.211.176/28 | 20.240.211.208/28 |
5647

5748
### Australia
5849

5950
These are {% data variables.product.company_short %}'s IP address ranges for enterprises hosted in Australia.
6051

61-
#### Ranges for egress traffic
52+
| Ranges for egress traffic | Ranges for ingress traffic |
53+
|--------------------------|---------------------------|
54+
| 20.5.34.240/28 | 4.237.73.192/28 |
55+
| 20.5.146.128/28 | 20.5.226.112/28 |
56+
| 68.218.155.16/28 | 20.248.163.176/28 |
6257

63-
* 20.5.34.240/28
64-
* 20.5.146.128/28
65-
* 68.218.155.16/28
58+
### US
6659

67-
#### Ranges for ingress traffic
60+
These are {% data variables.product.company_short %}'s IP address ranges for enterprises hosted in the US.
6861

69-
* 4.237.73.192/28
70-
* 20.5.226.112/28
71-
* 20.248.163.176/28
62+
| Ranges for egress traffic | Ranges for ingress traffic |
63+
|--------------------------|---------------------------|
64+
| 20.221.76.128/28 | 74.249.180.192/28 |
65+
| 135.233.115.208/28 | 48.214.149.96/28 |
66+
| 20.118.27.192/28 | 172.202.123.176/28 |
7267

7368
## Supported regions for Azure private networking
7469

@@ -90,6 +85,14 @@ If you use Azure private networking for {% data variables.product.company_short
9085
| arm64 | `australiaeast`, `australiacentral` |
9186
| GPU | N/A |
9287

88+
### Supported regions in the US
89+
90+
| Runner type | Supported regions |
91+
| ----------- | ----------------- |
92+
| x64 | `centralus`, `eastus2`, `westus3` |
93+
| arm64 | `centralus`, `eastus2`, `westus3` |
94+
| GPU | `centralus`, `eastus2`, `westus3` |
95+
9396
## IP ranges for {% data variables.product.prodname_importer_proper_name %}
9497

9598
If you're running a migration to your enterprise with {% data variables.product.prodname_importer_proper_name %}, you may need to add certain ranges to an IP allow list. See [AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products#configuring-ip-allow-lists-for-migrations).
@@ -134,3 +137,10 @@ You must allow:
134137
* 20.5.34.240/28
135138
* 20.5.146.128/28
136139
* 68.218.155.16/28
140+
141+
### Required in the US
142+
143+
* 130.213.245.128/28
144+
* 20.171.204.144/28
145+
* 20.171.204.176/28
146+
* 4.150.167.192/28

content/admin/installing-your-enterprise-server/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-aws.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,34 @@ This guide recommends the principle of least privilege when setting up {% data v
3939

4040
{% data reusables.enterprise_installation.hardware-considerations-all-platforms %}
4141

42+
### Storage volume performance recommendations for AWS
43+
44+
{% data variables.product.prodname_ghe_server %} is I/O intensive and requires high-performance storage for both the root volume and data volume to ensure optimal performance. Both volumes need high IOPS and low latency, as insufficient disk I/O is a common cause of performance degradation and service disruptions.
45+
46+
When selecting Amazon EBS volume types, consider the following guidance:
47+
48+
* For most deployments, `gp3` volumes provide a good starting point with configurable IOPS and throughput
49+
* For larger or high-activity deployments, `io1` or `io2` volumes may be more appropriate due to their consistent performance characteristics
50+
* Very large or mission-critical deployments may benefit from `io2 Block Express` for the highest performance levels
51+
52+
> [!IMPORTANT]
53+
> The optimal storage configuration for your instance will vary significantly based on your specific usage patterns. Factors that increase I/O requirements include:
54+
>
55+
> * Number of active users and repositories
56+
> * CI/CD workload volume and frequency
57+
> * API usage patterns and automation
58+
> * Git operation frequency and repository sizes
59+
>
60+
> We strongly recommend continuously monitoring your instance's disk performance in the Management Console metrics dashboard. Pay particular attention to:
61+
>
62+
> * **Disk queue length**: Should remain near zero.
63+
> * **I/O utilization**: Sustained periods above 80% indicate need for more IOPS.
64+
> * **Disk latency**: Should remain below 1-2ms.
65+
>
66+
> Be prepared to adjust your storage configuration as your usage patterns evolve. Scale up IOPS allocation proactively if you observe performance bottlenecks to prevent service degradation.
67+
68+
For more information about Amazon EBS volume types, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html#vol-type-ssd) in the AWS documentation.
69+
4270
## Determining the instance type
4371

4472
Before launching {% data variables.location.product_location %} on AWS, you'll need to determine the machine type that best fits the needs of your organization. To review the minimum recommended requirements for {% data variables.product.prodname_ghe_server %}, see [Minimum recommended requirements](#minimum-recommended-requirements).

content/admin/overview/setting-up-a-trial-of-github-enterprise-cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To set up a trial, you must be signed in to a personal account. If you don't hav
2020

2121
<a href="https://github.com/account/enterprises/new?ref_cta=GHEC+trial&ref_loc=setting+up+a+trial+of+github+enterprise+cloud&ref_page=docs" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Set up a trial of {% data variables.product.prodname_ghe_cloud %}</span> {% octicon "link-external" height:16 %}</a>
2222

23-
>[!IMPORTANT] Your trial enterprise will be hosted in the USA. If you require {% data variables.enterprise.data_residency_short %} outside the USA, contact {% data variables.contact.contact_sales_data_residency %}.
23+
>[!IMPORTANT] Your trial enterprise will be hosted in the US. If you require {% data variables.enterprise.data_residency_short %} in a specific region, contact {% data variables.contact.contact_sales_data_residency %}.
2424
2525
{% data reusables.enterprise.enterprise-types %}
2626

content/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
steps:
4444
- name: Generate a token
4545
id: generate-token
46-
uses: actions/create-github-app-token@v1
46+
uses: actions/create-github-app-token@v2
4747
with:
4848
app-id: {% raw %}${{ vars.APP_ID }}{% endraw %}
4949
private-key: {% raw %}${{ secrets.APP_PRIVATE_KEY }}{% endraw %}

content/code-security/dependabot/working-with-dependabot/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ children:
2222
- /guidance-for-the-configuration-of-private-registries-for-dependabot
2323
- /dependabot-options-reference
2424
- /setting-dependabot-to-run-on-self-hosted-runners-using-arc
25+
- /setting-dependabot-to-run-on-github-hosted-runners-using-vnet
2526
---
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
---
2+
title: Setting up Dependabot to run on github-hosted action runners using the Azure Private Network
3+
intro: You can configure an Azure Virtual Network (VNET) to run {% data variables.product.prodname_dependabot %} on {% data variables.product.company_short %}-hosted runners.
4+
versions:
5+
feature: dependabot-vnet-support
6+
permissions: '{% data reusables.permissions.dependabot-various-tasks %}'
7+
topics:
8+
- Repositories
9+
- Dependabot
10+
- Version updates
11+
- Security updates
12+
- Dependencies
13+
- Pull requests
14+
allowTitleToDifferFromFilename: true
15+
shortTitle: Configure VNET
16+
---
17+
18+
## Configuring VNET for {% data variables.product.prodname_dependabot_updates %}
19+
20+
{% data reusables.dependabot.vnet-support-private-preview-note %}
21+
22+
This article provides step-by-step instructions for running {% data variables.product.prodname_dependabot %} on {% data variables.product.company_short %}-hosted runners configured with VNET. The article explains:
23+
24+
* How to create runner groups for your enterprise or organization with a VNET configuration.
25+
* How to create {% data variables.product.company_short %}-hosted runners for {% data variables.product.prodname_dependabot %} in the runner group.
26+
* How to enable {% data variables.product.prodname_dependabot %} on large runners.
27+
* How to configure Azure VNET firewall IP rules.
28+
29+
To use {% data variables.product.company_short %}-hosted runners with Azure VNET, you first need to configure your Azure resources, then create a private network configuration in {% data variables.product.github %}.
30+
31+
## Configuring Azure resources
32+
33+
To learn how to use {% data variables.product.company_short %}-hosted runners with an Azure private network, see [Configuring your Azure resources](/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/configuring-private-networking-for-github-hosted-runners-in-your-enterprise#configuring-your-azure-resources).
34+
35+
> [!NOTE]
36+
>
37+
> * The `databaseId` which is required in the script for configuring the Azure resources can refer to any of the following depending on whether you are configuring the resources for an enterprise or an organization:
38+
> * The enterprise slug, which you can identify by looking at the URL for your enterprise, `https://github.com/enterprises/SLUG`, or
39+
> * The login for the organization account, which you can identify by looking at the URL for your organization, `https://github.com/organizations/ORGANIZATION_LOGIN`.
40+
> * The script will return the full payload for the created resource. The `GitHubId` hash value returned in the payload for the created resource is the network settings resource ID you will use in the next steps while setting up a network configuration in {% data variables.product.github %}
41+
42+
## Configuring a VNET-injected runner for {% data variables.product.prodname_dependabot_updates %} in your enterprise
43+
44+
After configuring your Azure resources, you can use an Azure Virtual Network (VNET) for private networking by creating a network configuration{% ifversion ghec %} at the enterprise or organization level{% else %} at the organization level{% endif %}. Then, you can associate that network configuration to runner groups.
45+
46+
1. Add a new network configuration for your enterprise. See [Add a new network configuration for your enterprise](/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/configuring-private-networking-for-github-hosted-runners-in-your-enterprise#1-add-a-new-network-configuration-for-your-enterprise)
47+
1. Create a runner group for the enterprise and select the organizations that you want to run {% data variables.product.prodname_dependabot_updates %} for. See [Create a runner group for your enterprise](/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/configuring-private-networking-for-github-hosted-runners-in-your-enterprise#2-create-a-runner-group-for-your-enterprise)
48+
1. Create and add a {% data variables.product.company_short %}-hosted runner to the enterprise runner group. See [Adding a larger runner to an enterprise](/actions/using-github-hosted-runners/using-larger-runners/managing-larger-runners#adding-a-larger-runner-to-an-enterprise). Important points are as follows:
49+
* The runner name must be **dependabot**
50+
* Choose a Linux x64 platform.
51+
* Select the suitable Ubuntu version.
52+
* When adding your {% data variables.product.company_short %}-hosted runner to a runner group, select the runner group you created in the previous step.
53+
54+
> [!NOTE]
55+
> Naming the {% data variables.product.company_short %}-hosted runner **dependabot** assigns the **dependabot** label to the runner, which enables it to pick up jobs triggered by {% data variables.product.prodname_dependabot %} on actions.
56+
57+
{% ifversion fpt or ghec %}
58+
59+
<!-- This section is currently only valid for dotcom. It'll need reviewing for GHES 3.18 -->
60+
61+
## Enabling {% data variables.product.prodname_dependabot %} for the organization
62+
63+
You now need to enable {% data variables.product.prodname_dependabot %} on _self-hosted runners_ for your organization in order to enable {% data variables.product.prodname_dependabot %} on large runners. See [Enabling or disabling {% data variables.product.prodname_dependabot %} on larger runners](/code-security/dependabot/working-with-dependabot/about-dependabot-on-github-actions-runners#enabling-or-disabling-dependabot-on-larger-runners).
64+
65+
{% data reusables.profile.access_org %}
66+
{% data reusables.organizations.org_settings %}
67+
1. In the "Security" section of the sidebar, select the **{% data variables.product.UI_advanced_security %}** dropdown menu, then click **{% data variables.product.prodname_global_settings_caps %}**.
68+
1. Under **{% data variables.product.prodname_dependabot %}**, select **{% data variables.product.prodname_dependabot %} on self-hosted runners**. This step is required, as it ensures that future {% data variables.product.prodname_dependabot %} jobs will run on the larger {% data variables.product.company_short %}-hosted runner that has the `dependabot` name.
69+
70+
{% endif %}
71+
72+
## Triggering a {% data variables.product.prodname_dependabot %} run
73+
74+
Now that you've set up private networking with VNET, you can start a {% data variables.product.prodname_dependabot %} run.
75+
76+
{% data reusables.dependabot.trigger-run %}
77+
78+
## Checking logs and active jobs for {% data variables.product.prodname_dependabot_updates %}
79+
80+
* You can view the logs of the {% data variables.product.prodname_dependabot %} workflow in the **Actions** tab of your repository. Ensure you select the {% data variables.product.prodname_dependabot %} job on the left sidebar of the Actions page.
81+
82+
![Example of log for a "Dependabot in vnet" workflow. The Dependabot job is highlighted with an orange outline. ](/assets/images/help/dependabot/dependabot-vnet-logs.png)
83+
84+
* You can view the active jobs in the page containing informatuon about the runner. To access that page, click the **Policies** tab for the enterprise, select **Actions** on the left sidebar, click the **Runner group** tab, and select your runner.
85+
86+
![Screenshot showing a Dependabot runner's active jobs.](/assets/images/help/dependabot/dependabot-vnet-active-jobs.png)
87+
88+
## Configuring Azure VNET firewall IP rules
89+
90+
If your Azure VNET environment is configured with a firewall with an IP allowlist, you may need to update your list of allowed IP addresses to use the {% data variables.product.company_short %}-hosted runners IP addresses sourced from the meta API endpoint.
91+
92+
* {% data variables.product.github %} provides the following public endpoint for its IP ranges:
93+
> GET <https://api.github.com/meta>
94+
* Copy and paste the following curl command in your terminal or command prompt and replace the placeholder bearer token value with your actual value.
95+
96+
```bash copy
97+
curl -L \
98+
-H "Accept: application/vnd.github+json" \
99+
-H "Authorization: Bearer YOUR-TOKEN" \
100+
-H "X-GitHub-Api-Version: 2022-11-28" \
101+
https://api.github.com/meta
102+
```
103+
104+
* From the response, look for the **actions** key.
105+
106+
```bash
107+
"actions": [ ... ]
108+
```
109+
110+
These are the IP ranges used by {% data variables.product.prodname_actions %} runners, including {% data variables.product.prodname_dependabot %} and hosted runners.
111+
112+
* Add these IPs to your firewall allowlist.

content/code-security/dependabot/working-with-dependabot/setting-dependabot-to-run-on-self-hosted-runners-using-arc.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,11 @@ Don't forget to add the following setting to the runner scale set configuration
178178

179179
Now that you've set up ARC, you can start a {% data variables.product.prodname_dependabot %} run.
180180
181-
{% data reusables.repositories.navigate-to-repo %}
182-
{% data reusables.repositories.navigate-to-insights %}
183-
{% data reusables.repositories.click-dependency-graph %}
184-
185-
1. Under "Dependency graph", click **{% data variables.product.prodname_dependabot %}**.
186-
1. To the right of the name of manifest file you're interested in, click **Recent update jobs**.
187-
1. If there are no recent update jobs for the manifest file, click **Check for updates** to re-run a {% data variables.product.prodname_dependabot %} version updates'job and check for new updates to dependencies for that ecosystem.
181+
{% data reusables.dependabot.trigger-run %}
188182
189183
## Viewing the generated ARC runners
190184
191-
You can the ARC runners that have been created for the {% data variables.product.prodname_dependabot %} job.
185+
You can view the ARC runners that have been created for the {% data variables.product.prodname_dependabot %} job.
192186
193187
{% data reusables.repositories.navigate-to-repo %}
194188
{% data reusables.repositories.actions-tab %}

content/repositories/creating-and-managing-repositories/transferring-a-repository.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ When you transfer a repository, its issues, pull requests, wiki, stars, and watc
6666
```
6767

6868
> [!WARNING]
69-
> If you create a new repository or fork at the previous repository location, the redirects to the transferred repository will be deactivated. They can be reactivated by renaming or deleting the new repository or fork.
70-
69+
> If you create a new repository or fork at the previous repository location, the redirects to the transferred repository will be permanently deleted.
7170
* When you transfer a repository from an organization to a personal account, the repository's read-only collaborators will not be transferred. This is because collaborators can't have read-only access to repositories owned by a personal account. For more information about repository permission levels, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/permission-levels-for-a-personal-account-repository) and [AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization).{% ifversion fpt or ghec %}
7271
* Sponsors who have access to the repository through a sponsorship tier may be affected. See [AUTOTITLE](/sponsors/receiving-sponsorships-through-github-sponsors/managing-your-sponsorship-tiers#adding-a-repository-to-a-sponsorship-tier).{% endif %}
7372
* Packages associated with the repository may be transferred, or may lose their link to the repository, depending on the registry they belong to. See [AUTOTITLE](/packages/learn-github-packages/about-permissions-for-github-packages#about-repository-transfers).

0 commit comments

Comments
 (0)