Skip to content

Commit 4f9c7ea

Browse files
authored
Merge pull request #43659 from github/repo-sync
Repo sync
2 parents 49aa482 + aa0b813 commit 4f9c7ea

File tree

7 files changed

+104
-1
lines changed

7 files changed

+104
-1
lines changed

content/admin/managing-github-actions-for-your-enterprise/advanced-configuration-and-troubleshooting/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ children:
88
- /backing-up-and-restoring-github-enterprise-server-with-github-actions-enabled
99
- /using-a-staging-environment
1010
- /troubleshooting-github-actions-for-your-enterprise
11+
- /updating-the-credentials-for-github-actions-storage
1112
shortTitle: HA & troubleshooting
1213
redirect_from:
1314
- /admin/github-actions/advanced-configuration-and-troubleshooting
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Updating the credentials for GitHub Actions storage
3+
shortTitle: Updating credentials for Actions storage
4+
intro: If your credentials for connecting to GitHub Actions storage change, you must update the credentials in the configuration on GitHub Enterprise Server.
5+
versions:
6+
ghes: '*'
7+
contentType: how-tos
8+
category:
9+
- Enable GitHub features for your enterprise
10+
---
11+
12+
## Updating the credential secret for your storage provider
13+
To update the credential secret for your {% data variables.product.prodname_actions %} storage provider on {% data variables.product.prodname_ghe_server %}, you have two options.
14+
15+
> [!WARNING]
16+
> This process is only for updating the secret key used to authenticate to your existing external storage provider. It assumes that your networking configuration, storage provider, and storage account remain unchanged.
17+
>
18+
> Do not use this process to switch between credential-based and OIDC-based authentication in the management console. Changing the authentication method for {% data variables.product.prodname_actions %} storage may result in data loss.
19+
20+
1. Enable maintenance mode on the server.
21+
1. Update the secret or obtain the updated secret from the storage provider.
22+
1. Use the UI or CLI option below to update the {% data variables.product.prodname_actions %} storage provider credential for {% data variables.product.prodname_ghe_server %}.
23+
24+
### Updating the credential secret using the management console
25+
1. Navigate to the Actions section of the **Management Console**. For more information, see [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-web-ui/accessing-the-management-console).
26+
1. Update the secret, or in the case of Azure Blob storage, the secret within the connection string, and then click `Test storage settings` to confirm that {% data variables.product.prodname_ghe_server %} is still able to successfully connect to the storage.
27+
1. Click `Save settings` and wait for the services to fully restart.
28+
29+
### Updating the credential secret using the command line
30+
1. Run the `ghe-actions-precheck` command to test the new Actions storage credentials and update the configuration on your {% data variables.product.prodname_ghe_server %}. For more information, see [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities#ghe-actions-precheck)
31+
1. After the Actions storage connection test is successful, you'll prompted to type `Yes` or `No` to configure Actions storage with these settings. Type `Yes` and Enter.
32+
1. You'll see a prompt about overwriting the existing Actions storage configuration. Type `Yes` and Enter.
33+
34+
## Identifying authentication failures for {% data variables.product.prodname_actions %} storage
35+
If {% data variables.product.prodname_ghe_server %} can't connect to your {% data variables.product.prodname_actions %} storage provider because of an incorrect secret or connection string, you'll see an `Access Denied` or authentication-related exception. This exception can appear in two situations:
36+
37+
* When running `ghe-check-blob-connection`, the command will report the authentication failure directly in its output.
38+
* When `ghe-config-apply` runs, either triggered by clicking "Save settings" in the management console, or by running `ghe-config-apply` manually from the command line. The exception will appear in the `/data/user/common/ghe-config.log` file. When this occurs, `ghe-config-apply` won't complete, which can cause an unexpected outage of services on your appliance.
39+
40+
Once the storage provider configuration on {% data variables.product.prodname_ghe_server %} is updated with the correct secret or connection string, you can run `ghe-config-apply` to ensure the job re-runs and completes successfully.
41+
42+
> [!NOTE] Connection failures can also result from other causes, such as network issues or misconfigured storage endpoints. If the error doesn't appear to be authentication-related, review the full error output for additional details.
43+
44+
For more information on `ghe-check-blob-connection`, see [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities#ghe-check-blob-connection).
45+
For more information on `ghe-config-apply`, see [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities#ghe-config-apply).

content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ To configure SAML SSO for your {% data variables.enterprise.prodname_emu_enterpr
8888
| :- | :- | :- |
8989
| IdP Sign-On URL | Login URL, IdP URL | Application's URL on your IdP |
9090
| IdP Identifier URL | Issuer | IdP's identifier to service providers for SAML authentication |
91-
| Signing certificate, Base64-encoded | Public certificate | Public certificate that IdP uses to sign authentication requests |
91+
| Signing certificate, PEM-encoded | Public certificate | Public certificate that IdP uses to sign authentication requests |
9292

9393
### Configure your enterprise
9494

content/copilot/how-tos/administer-copilot/manage-for-organization/add-copilot-coding-agent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Organization owners can configure the {% data variables.copilot.copilot_coding_a
5757
## Next steps
5858

5959
* Tell the members of repositories where {% data variables.copilot.copilot_coding_agent %} is available that they can delegate work to the {% data variables.copilot.copilot_coding_agent_short %}.
60+
* Configure the default runner type for {% data variables.copilot.copilot_coding_agent %} in your organization. For more information, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/configure-runner-for-coding-agent).
6061
* Encourage members to educate themselves about setting up their repository to get the most from {% data variables.copilot.copilot_coding_agent %}. Useful resources:
6162

6263
* [AUTOTITLE](/copilot/tutorials/coding-agent/best-practices)
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Configuring runners for GitHub Copilot cloud agent in your organization
3+
shortTitle: Configure agent runners
4+
allowTitleToDifferFromFilename: true
5+
intro: 'Configure the {% data variables.product.prodname_actions %} runners used by {% data variables.copilot.copilot_coding_agent %} and control whether repositories can customize the runner type.'
6+
permissions: Organization owners
7+
product: '{% data reusables.gated-features.copilot-coding-agent %}<br><a href="https://github.com/github-copilot/purchase?ref_product=copilot&ref_type=trial&ref_style=button&ref_plan=enterprise" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>'
8+
versions:
9+
feature: copilot
10+
contentType: how-tos
11+
category:
12+
- Manage Copilot for a team
13+
---
14+
15+
## About organization-level runner controls
16+
17+
By default, {% data variables.copilot.copilot_coding_agent %} runs on a standard {% data variables.product.prodname_dotcom %}-hosted {% data variables.product.prodname_actions %} runner (`ubuntu-latest`). As an organization owner, you can change the default runner type for all repositories in your organization, and choose whether individual repositories are allowed to override this default.
18+
19+
This is useful if your organization requires all {% data variables.copilot.copilot_coding_agent %} sessions to run on specific runners—for example, to use larger runners for better performance, or to use self-hosted runners that have access to internal resources.
20+
21+
You can configure:
22+
23+
* **Runner type**: Choose between a standard {% data variables.product.prodname_dotcom %}-hosted runner or a labeled runner from a specific runner group.
24+
* **Allow repositories to customize the runner type**: Control whether repositories can override the organization default using a {% data variables.product.prodname_copilot_short %} setup steps workflow defined at `.github/workflows/copilot-setup-steps.yml`.
25+
26+
## Configuring the default runner type
27+
28+
{% data reusables.profile.access_org %}
29+
{% data reusables.profile.org_settings %}
30+
{% data reusables.copilot.coding-agent-settings %}
31+
1. Next to "Runner type," click the pencil icon ({% octicon "pencil" aria-label="Edit" %}).
32+
1. Select the runner type to use by default for {% data variables.copilot.copilot_coding_agent %} across your organization.
33+
* **Standard {% data variables.product.prodname_dotcom %} runner**: {% data variables.copilot.copilot_coding_agent %} will use `ubuntu-latest`.
34+
* **Labeled runner**: {% data variables.copilot.copilot_coding_agent %} will use a runner matching the group name and/or label you specify. Enter values in the **Runner group name** and/or **Runner label** fields.
35+
1. Click **Save runner selection**.
36+
37+
## Preventing repositories from customizing the runner type
38+
39+
By default, repositories can override the organization-level runner configuration using a {% data variables.product.prodname_copilot_short %} setup steps workflow located at `.github/workflows/copilot-setup-steps.yml`. If you want to enforce a consistent runner type across all repositories, you can disable this option.
40+
41+
{% data reusables.profile.access_org %}
42+
{% data reusables.profile.org_settings %}
43+
{% data reusables.copilot.coding-agent-settings %}
44+
1. Under "Allow repositories to customize the runner type," toggle the setting to enable or disable repository-level customization.
45+
* When enabled, repositories can override the default runner by setting the `runs-on` field in the `copilot-setup-steps` job of `copilot-setup-steps.yml`. See [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment#configure-the-runner).
46+
* When disabled, all repositories in your organization will use the organization-level runner type.
47+
1. Click **Save**.
48+
49+
## Further reading
50+
51+
* [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment)
52+
* [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/add-copilot-coding-agent)

content/copilot/how-tos/administer-copilot/manage-for-organization/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ children:
1515
- /manage-access
1616
- /manage-policies
1717
- /add-copilot-coding-agent
18+
- /configure-runner-for-coding-agent
1819
- /prepare-for-custom-agents
1920
- /review-activity
2021
- /use-your-own-api-keys

content/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ In addition, you can:
3333
* [Set environment variables in {% data variables.product.prodname_copilot_short %}'s environment](#setting-environment-variables-in-copilots-environment)
3434
* [Disable or customize the agent's firewall](/copilot/customizing-copilot/customizing-or-disabling-the-firewall-for-copilot-coding-agent).
3535

36+
> [!NOTE]
37+
> Organization owners can configure the default runner type for {% data variables.copilot.copilot_coding_agent %} across all repositories in their organization, and choose whether repositories are allowed to override this default. For more information, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/configure-runner-for-coding-agent).
38+
3639
## Customizing {% data variables.product.prodname_copilot_short %}'s development environment with {% data variables.product.prodname_copilot_short %} setup steps
3740

3841
You can customize {% data variables.product.prodname_copilot_short %}'s environment by creating a special {% data variables.product.prodname_actions %} workflow file, located at `.github/workflows/copilot-setup-steps.yml` within your repository.

0 commit comments

Comments
 (0)