Skip to content

Commit 7f7311a

Browse files
Merge branch 'main' into patch-1
2 parents 7bd1cae + c99f0ec commit 7f7311a

File tree

138 files changed

+13194
-2743
lines changed

Some content is hidden

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

138 files changed

+13194
-2743
lines changed

.github/workflows/local-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: View the home page
6161
run: |
6262
echo "Going to sleep a little to wait for the server to start"
63-
sleep 10
63+
sleep 15
6464
curl --fail --retry-connrefused --retry 5 http://localhost:4000/
6565
6666
- name: Run basic tests

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Docs changelog
22

3+
**23 September 2025**
4+
5+
We've added new documentation for Spark that answers some common customer questions, helps customers troubleshoot known issues, and guides users on the best ways to prompt and provide context to Spark.
6+
7+
See:
8+
- "[About GitHub Spark](https://docs.github.com/en/copilot/concepts/spark)"
9+
- "[Troubleshooting common issues with GitHub Spark](https://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-spark)"
10+
- "[Write effective prompts and provide useful context for Spark](https://docs.github.com/en/copilot/tutorials/spark/prompt-tips)"
11+
12+
<hr>
13+
314
**17 September 2025**
415

516
We added documentation for expanded features for reusing workflow configurations in GitHub Actions.
@@ -66,7 +77,7 @@ See: [Configure custom instructions for GitHub Copilot](https://docs.github.com/
6677

6778
In addition to repository-wide custom instructions, specified in the `.github/copilot-instructions.md` file, Copilot Code Review now supports:
6879

69-
* Path-specific custom instructions, specified in `.github/instructions/NAME.instructions.md` files.
80+
* Path-specific custom instructions, specified in `.github/instructions/**/NAME.instructions.md` files.
7081
* Custom instructions specified in the organization settings for Copilot.
7182

7283
We have updated several articles in the GitHub documentation accordingly. We have also made changes to clarify the difference between the various types of custom instructions for Copilot Code Review, Copilot Chat, and Copilot Coding Agent.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ---------------------------------------------------------------
99
# To update the sha:
1010
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
11-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250917-225833-g09a8eb42d AS base
11+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20250924-191915-gc04d4a50b AS base
1212

1313
# Install curl for Node install and determining the early access branch
1414
# Install git for cloning docs-early-access & translations repos
87.9 KB
Loading
162 KB
Loading

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

Lines changed: 29 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ If you want to test changes on an instance that contains the same data and confi
5757
5858
### 2. Set up a staging instance
5959

60-
Set up a new instance to act as your staging environment. You can use the same guides for provisioning and installing your staging instance as you did for your production instance. For more information, see [AUTOTITLE](/admin/installation/setting-up-a-github-enterprise-server-instance).
60+
Set up a new instance to act as your staging environment. When following the setup process, be sure to select the **New Install** option. This will ensure your staging environment is initialized properly and is ready for restoring a backup if needed.
61+
62+
You can use the same guides for provisioning and installing your staging instance as you did for your production instance. For more information, see [AUTOTITLE](/admin/installation/setting-up-a-github-enterprise-server-instance).
6163

6264
If you plan to restore a backup of your production instance, continue to the next step. Alternatively, you can configure the instance manually and skip the following steps.
6365

@@ -66,62 +68,43 @@ If you plan to restore a backup of your production instance, continue to the nex
6668
6769
### 3. Configure {% data variables.product.prodname_actions %}
6870

69-
Optionally, if you use {% data variables.product.prodname_actions %} on your production instance, configure the feature on the staging instance before restoring your production backup. If you don't use {% data variables.product.prodname_actions %}, skip to [1. Configure {% data variables.product.prodname_registry %}](#4-configure-github-packages).
71+
Optionally, if you use {% data variables.product.prodname_actions %} on your production instance, configure the feature on the staging instance before restoring your production backup. If you don't use {% data variables.product.prodname_actions %}, skip to [Configure {% data variables.product.prodname_registry %}](#4-configure-github-packages).
72+
73+
To configure {% data variables.product.prodname_actions %} on your staging instance, use the {% data variables.enterprise.management_console %}.
74+
75+
The {% data variables.enterprise.management_console %} provides a secure, browser-based interface for low-level configuration of your {% data variables.product.prodname_ghe_server %} instance, including {% data variables.product.prodname_actions %}. All configuration changes are audited, and access is protected via dedicated credentials and network controls.
7076

7177
> [!WARNING]
7278
> If you don't configure {% data variables.product.prodname_actions %} on the staging instance before restoring your production backup, your staging instance will use your production instance's external storage, which could result in loss of data. We strongly recommended that you use different external storage for your staging instance. For more information, see [AUTOTITLE](/admin/github-actions/advanced-configuration-and-troubleshooting/using-a-staging-environment).
7379
74-
{% data reusables.enterprise_installation.ssh-into-staging-instance %}
75-
1. To configure the staging instance to use an external storage provider for {% data variables.product.prodname_actions %}, enter one of the following commands.
76-
{% data reusables.actions.configure-storage-provider-platform-commands %}
77-
{% data reusables.actions.configure-storage-provider %}
78-
1. To prepare to enable {% data variables.product.prodname_actions %} on the staging instance, enter the following command.
79-
80-
```shell copy
81-
ghe-config app.actions.enabled true
82-
```
80+
1. Access the {% data variables.enterprise.management_console %}. See [AUTOTITLE](/admin/administering-your-instance/administering-your-instance-from-the-web-ui/accessing-the-management-console).
8381

84-
1. To apply the configuration changes, enter the following command.
82+
1. In the sidebar, open the **Actions** tab.
83+
1. Enable {% data variables.product.prodname_actions %} by checking **Enable {% data variables.product.prodname_actions %}**.
84+
1. Select your external storage provider for artifact and log storage.
85+
1. Enter the required storage and authentication details for your chosen provider.
86+
1. Test your configuration by clicking **Test storage settings**, then click **Save settings**.
8587

86-
```shell copy
87-
ghe-config-apply
88-
```
88+
Once you've configured and enabled {% data variables.product.prodname_actions %}, proceed to the next step.
8989

9090
### 4. Configure {% data variables.product.prodname_registry %}
9191

92-
Optionally, if you use {% data variables.product.prodname_registry %} on your production instance, configure the feature on the staging instance before restoring your production backup. If you don't use {% data variables.product.prodname_registry %}, skip to [1. Restore your production backup](#5-restore-your-production-backup).
92+
Optionally, if you use {% data variables.product.prodname_registry %} on your production instance, configure the feature on the staging instance before restoring your production backup. If you don't use {% data variables.product.prodname_registry %}, skip to [Restore your production backup](#5-restore-your-production-backup).
9393

9494
> [!WARNING]
95-
> If you don't configure {% data variables.product.prodname_registry %} on the staging instance before restoring your production backup, your staging instance will use your production instance's external storage, which could result in loss of data. We strongly recommended that you use different external storage for your staging instance.
96-
97-
1. Review the backup you will restore to the staging instance.
98-
* If you took the backup with {% data variables.product.prodname_enterprise_backup_utilities %} 3.5 or later, the backup includes the configuration for {% data variables.product.prodname_registry %}. Continue to the next step.
99-
* If you took the backup with {% data variables.product.prodname_enterprise_backup_utilities %} 3.4 or earlier, configure {% data variables.product.prodname_registry %} on the staging instance. For more information, see [AUTOTITLE](/admin/packages/getting-started-with-github-packages-for-your-enterprise).
100-
{% data reusables.enterprise_installation.ssh-into-staging-instance %}
101-
1. Configure the external storage connection by entering the following commands, replacing the placeholder values with actual values for your connection.
102-
* Azure Blob Storage:
103-
104-
```shell copy
105-
ghe-config secrets.packages.blob-storage-type "azure"
106-
ghe-config secrets.packages.azure-container-name "AZURE CONTAINER NAME"
107-
ghe-config secrets.packages.azure-connection-string "CONNECTION STRING"
108-
```
109-
110-
* Amazon S3:
111-
112-
```shell copy
113-
ghe-config secrets.packages.blob-storage-type "s3"
114-
ghe-config secrets.packages.service-url "S3 SERVICE URL"
115-
ghe-config secrets.packages.s3-bucket "S3 BUCKET NAME"
116-
ghe-config secrets.packages.aws-access-key "S3 ACCESS KEY ID"
117-
ghe-config secrets.packages.aws-secret-key "S3 ACCESS SECRET"
118-
```
119-
120-
1. To prepare to enable {% data variables.product.prodname_registry %} on the staging instance, enter the following command.
121-
122-
```shell copy
123-
ghe-config app.packages.enabled true
124-
```
95+
> If you don't configure {% data variables.product.prodname_registry %} on the staging instance before restoring your production backup, your staging instance will use your production instance's external storage, which could result in loss of data. We strongly recommended that you use different external storage for your staging instance. For more information, see [AUTOTITLE](/admin/github-actions/advanced-configuration-and-troubleshooting/using-a-staging-environment).
96+
97+
To configure {% data variables.product.prodname_registry %} for your staging instance:
98+
99+
1. Access the {% data variables.enterprise.management_console %}. See [Accessing the Management Console](/admin/administering-your-instance/administering-your-instance-from-the-web-ui/accessing-the-management-console).
100+
1. In the sidebar, open the **Packages** tab.
101+
1. Enable GitHub Packages by checking the **Enable GitHub Packages** box.
102+
1. Under **Packages Storage Settings**, select your external storage provider.
103+
1. Test your storage configuration by clicking **Test storage settings**.
104+
1. Click **Save settings** to apply your configuration.
105+
106+
> [!NOTE]
107+
> You can use ecosystem toggles to enable, disable, or set individual package types to read-only for your instance as needed.
125108
126109
### 5. Restore your production backup
127110

content/admin/monitoring-and-managing-your-instance/configuring-high-availability/initiating-a-failover-to-your-replica-appliance.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ The time required to failover depends on how long it takes to manually promote t
5757
1. Update the DNS record to point to the IP address of the replica. Traffic is directed to the replica after the TTL period elapses. If you are using a load balancer, ensure it is configured to send traffic to the replica.
5858
1. Notify users that they can resume normal operations.
5959
1. If desired, set up replication from the new primary to existing appliances and the previous primary. For more information, see [AUTOTITLE](/admin/enterprise-management/configuring-high-availability/about-high-availability-configuration#utilities-for-replication-management).
60+
> [!NOTE]
61+
> If there were multiple replicas before failover, the replicas that were not promoted during failover will remain part of the high availability group associated with the previous primary. Before re-establishing replication from the new primary, you must remove these replicas from the high availability configuration of the old primary. For more information, see [AUTOTITLE](/admin/monitoring-and-managing-your-instance/configuring-high-availability/removing-a-high-availability-replica#removing-replication-permanently).
6062
1. Appliances you do not intend to setup replication to that were part of the high availability configuration prior the failover, need to be removed from the high availability configuration by UUID.
6163
* On the former appliances, get their UUID via `cat /data/user/common/uuid`.
6264

content/code-security/code-scanning/managing-your-code-scanning-configuration/set-code-scanning-merge-protection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ topics:
1919
> [!NOTE]
2020
> * Merge protection with rulesets is not related to status checks. For more information about status checks, see [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).
2121
> * Merge protection with rulesets will not apply to merge queue groups or {% data variables.product.prodname_dependabot %} pull requests analyzed by default setup.
22+
> * All the lines of code identified by an alert must exist in the pull request diff. For more information, see [AUTOTITLE](/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#specifying-the-location-for-source-files).
2223
2324
You can use rulesets to prevent pull requests from being merged when one of the following conditions is met:
2425

0 commit comments

Comments
 (0)