Skip to content

Commit 307f45b

Browse files
authored
Merge pull request #41747 from github/repo-sync
Repo sync
2 parents bea0cc1 + 5255280 commit 307f45b

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

content/actions/reference/workflows-and-actions/deployments-and-environments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Use deployment branches and tags to restrict which branches and tags can deploy
5656
5757
* **Selected branches and tags:** Only branches and tags that match your specified name patterns can deploy to the environment.
5858

59-
If you specify `releases/*` as a deployment branch or tag rule, only a branch or tag whose name begins with `releases/` can deploy to the environment. (Wildcard characters will not match `/`. To match branches or tags that begin with `release/` and contain an additional single slash, use `release/*/*`.) If you add `main` as a branch rule, a branch named `main` can also deploy to the environment. For more information about syntax options for deployment branches, see the [Ruby `File.fnmatch` documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).
59+
The deployment branch or tag rule is matched against the `GITHUB_REF` of the workflow run. For values of `GITHUB_REF` for each workflow trigger, see [AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows). If you specify `releases/*` as a deployment branch or tag rule, only a `GITHUB_REF` whose name begins with `releases/` can deploy to the environment. Adding another branch rule for `refs/pull/*/merge` would also allow workflows triggered by `pull_request` events to deploy to the environment. Wildcard characters will not match `/`, to match branches or tags that begin with `release/` and contain an additional single slash, use `release/*/*`. For more information about syntax options for deployment branches, see the [Ruby `File.fnmatch` documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).
6060

6161
{% data reusables.actions.branch-and-tag-deployment-rules-configuration %}
6262

content/admin/backing-up-and-restoring-your-instance/backup-service-for-github-enterprise-server/configuring-the-backup-service.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you're migrating from {% data variables.product.prodname_enterprise_backup_ut
125125

126126
Use the `--dry-run` flag to preview changes without applying them.
127127

128-
### Scheduling automated backups
128+
#### Scheduling automated backups
129129

130130
Once the service is configured, you can define a backup schedule.
131131

@@ -134,3 +134,27 @@ Once the service is configured, you can define a backup schedule.
134134
1. Click **Save** to apply the changes.
135135

136136
The first run will be a full backup. Future runs will be incremental. If a new backup attempt starts while a previous one is still running, it may be skipped or fail. In that case, adjust the schedule to avoid overlap.
137+
138+
{% ifversion ghes > 3.19 %}
139+
140+
### Configuring backups from a replica node
141+
142+
For high availability, you can designate a replica node as your backup server. To minimize latency, {% data variables.product.github %} recommends picking a replica node in the same region or datacenter as your primary node.
143+
144+
> [!IMPORTANT]
145+
> Backups from cache replica nodes or active geo replica nodes are not supported.
146+
147+
To configure your backup server, run the following commands, replacing `HOSTNAME` with the hostname of the node:
148+
149+
```shell
150+
ghe-config cluster.HOSTNAME.backup-server true
151+
152+
ghe-config-apply
153+
```
154+
155+
You can now run `ghe-backup` directly on your replica node.
156+
157+
> [!WARNING]
158+
> Due to the latency between primary and replica nodes, you may lose data when backing up from a replica node.
159+
160+
{% endif %}

content/site-policy/privacy-policies/github-subprocessors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ If you have questions about this list, please contact us at <privacy@github.com>
3131
| Anthropic PBC | AI Inference and AI Services | United States | United States |
3232
| Cloudflare | Content delivery service | United States | United States |
3333
| CoreWeave, Inc. | Cloud Hosted Infrastructure | United States | United States |
34+
| Elasticsearch, Inc. | Cloud Hosted Infrastructure | United States | United States |
3435
| Fastly | Content delivery service | United States | United States |
3536
| Fireworks AI | AI Inference and AI Services | United States, Iceland, Germany | United States |
3637
| FullStory, Inc. | Customer support ticketing analysis | United States | United States |

content/webhooks/testing-and-troubleshooting-webhooks/troubleshooting-webhooks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ To deliver webhooks to your local server for testing, you can use a webhook forw
4646

4747
## Failed to connect to host
4848

49-
The `failed to connect to host` error occurs when {% data variables.product.company_short %} attempts a webhook delivery but could not resolve the webhook's URL to an IP address.
49+
The `failed to connect to host` error occurs when {% data variables.product.company_short %} attempts a webhook delivery but could not resolve the webhook's URL to an IP address or there are network restrictions preventing connection to the host.
5050

5151
To check whether a host name resolves to an IP address, you can use `nslookup`. For example, if your payload URL is `https://octodex.github.com/webhooks`, you can run `nslookup octodex.github.com`. If the host name could not be resolved to an IP address, the nslookup command will indicate that the server can't find the host name.
5252

53+
You should make sure that your server allows connections from {% data variables.product.company_short %}'s IP addresses. You can use the `GET /meta` endpoint to find the current list of {% data variables.product.company_short %}'s IP addresses. See [AUTOTITLE](/rest/meta/meta#get-github-meta-information). Ensure connectivity is allowed from the IP addresses listed in the `hooks` section. {% data variables.product.company_short %} occasionally makes changes to its IP addresses, so you should update your IP allow list periodically.
54+
5355
## Failed to connect to network
5456

5557
The `failed to connect to network` error indicates that your server refused the connection when {% data variables.product.company_short %} attempted to deliver a webhook.

0 commit comments

Comments
 (0)