Skip to content

Commit 80198e3

Browse files
authored
Merge pull request #43336 from github/repo-sync
Repo sync
2 parents aeff218 + dae40e1 commit 80198e3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

content/actions/how-tos/manage-runners/larger-runners/use-custom-images.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,11 @@ Once your custom image is ready, you can install it on a new {% data variables.a
159159
```
160160

161161
1. Run your workflow to verify that it completes successfully. The job logs will show the image name and version in the "Set up job" section.
162+
163+
## Security best practices for custom images
164+
165+
To prevent unauthorized changes to your images, follow these best practices.
166+
167+
* **Use dedicated runner groups for image generation.** Runners that generate production images must remain in a dedicated runner group. Do not share runner groups between production and development or test repositories, as anyone with access to a development or test repository could inject malicious code into a production image.
168+
* **Do not allow public repositories to access image-generation runners.** Limit the repositories that can use image-generation runners to only those that require it, and review access regularly.
169+
* **Apply least privilege to repositories.** Avoid granting organization-wide `write` access for repositories that have access to image-generation runners. Because images can be generated from any branch, anyone with write access could create a branch with arbitrary code and trigger image generation.

content/admin/data-residency/getting-started-with-data-residency-for-github-enterprise-cloud.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ To get started with {% data variables.enterprise.data_residency_short %}, you wi
4747
1. Select **Get started with managed users**.
4848
1. Under "Data hosting", use the dropdown menu to select your region for {% data variables.enterprise.data_residency_short %}.
4949
1. Complete the signup form. Pay close attention to the following fields:
50-
5150
* **Subdomain**: This will appear in your enterprise's dedicated domain. For example: `{% data variables.enterprise.data_residency_example_domain %}`.
51+
> [!NOTE]
52+
> Please select the subdomain carefully. You cannot change it later.
5253
* **Identity Provider**: {% data variables.product.github %} partners with certain identity providers to provide a "paved-path" experience. Check whether your identity provider is a partner and ensure you understand the requirements for other systems. See [AUTOTITLE](/admin/managing-iam/understanding-iam-for-enterprises/about-enterprise-managed-users#identity-management-systems).
5354
* **Admin work email**: This is where you will receive the invitation to sign in and configure the enterprise for the first time.
5455

0 commit comments

Comments
 (0)