Skip to content

Commit

Permalink
Merge pull request #36294 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Feb 14, 2025
2 parents 62e6673 + e0627cd commit 7e7b1d9
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 5 deletions.
96 changes: 95 additions & 1 deletion .github/branch_protection_settings/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,101 @@
"parent": null
}
],
"apps": []
"apps": [
{
"id": 87537,
"client_id": "Iv1.cd3d51f97fa3c962",
"slug": "github-heaven",
"node_id": "MDM6QXBwODc1Mzc=",
"owner": {
"login": "github",
"id": 9919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github",
"html_url": "https://github.com/github",
"followers_url": "https://api.github.com/users/github/followers",
"following_url": "https://api.github.com/users/github/following{/other_user}",
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
"organizations_url": "https://api.github.com/users/github/orgs",
"repos_url": "https://api.github.com/users/github/repos",
"events_url": "https://api.github.com/users/github/events{/privacy}",
"received_events_url": "https://api.github.com/users/github/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"name": "GitHub Heaven",
"description": "Heaven operates deployments across the seven kingdoms of GitHub.",
"external_url": "https://heaven.githubapp.com",
"html_url": "https://github.com/apps/github-heaven",
"created_at": "2020-11-04T22:59:24Z",
"updated_at": "2023-09-15T14:16:20Z",
"permissions": {
"actions": "write",
"checks": "read",
"contents": "write",
"deployments": "write",
"emails": "read",
"issues": "write",
"metadata": "read",
"pull_requests": "write",
"statuses": "read",
"workflows": "write"
},
"events": ["push"]
},
{
"id": 87541,
"client_id": "Iv1.4e183513562e11aa",
"slug": "github-heaven-staging",
"node_id": "MDM6QXBwODc1NDE=",
"owner": {
"login": "github",
"id": 9919,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github",
"html_url": "https://github.com/github",
"followers_url": "https://api.github.com/users/github/followers",
"following_url": "https://api.github.com/users/github/following{/other_user}",
"gists_url": "https://api.github.com/users/github/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github/subscriptions",
"organizations_url": "https://api.github.com/users/github/orgs",
"repos_url": "https://api.github.com/users/github/repos",
"events_url": "https://api.github.com/users/github/events{/privacy}",
"received_events_url": "https://api.github.com/users/github/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"name": "GitHub Heaven (Staging)",
"description": "Staging version of Heaven, GitHub's deployment app.",
"external_url": "https://heaven-pe1-iad.githubapp.com",
"html_url": "https://github.com/apps/github-heaven-staging",
"created_at": "2020-11-05T00:12:16Z",
"updated_at": "2023-09-15T14:16:33Z",
"permissions": {
"actions": "write",
"checks": "read",
"contents": "write",
"deployments": "write",
"emails": "read",
"issues": "write",
"metadata": "read",
"pull_requests": "write",
"repository_hooks": "read",
"statuses": "read",
"workflows": "write"
},
"events": ["push"]
}
]
},
"required_pull_request_reviews": {
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_pull_request_reviews",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ kubectl create secret generic pre-defined-secret \
--namespace=arc-runners \
--from-literal=github_app_id=123456 \
--from-literal=github_app_installation_id=654321 \
--from-literal=github_app_private_key='-----BEGIN RSA PRIVATE KEY-----********'
--from-file=github_app_private_key=private-key.pem
```

In your copy of the [`values.yaml`](https://github.com/actions/actions-runner-controller/blob/master/charts/gha-runner-scale-set/values.yaml) pass the secret name as a reference.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,12 @@ You should also subscribe to webhook events instead of polling the API for data.

You can also stream the audit log in order to view API requests. This can help you troubleshoot integrations that are exceeding the rate limit. For more information, see [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise).

## Timeouts

If {% data variables.product.github %} takes more than 10 seconds to process an API request, {% data variables.product.github %} will terminate the request and you will receive a timeout response and a message reporting that "We couldn't respond to your request in time".

{% data variables.product.github %} reserves the right to change the timeout window to protect the speed and reliability of the API.

You can check the status of the GraphQL API at [githubstatus.com](https://www.githubstatus.com/) to determine whether the timeout is due to a problem with the API. You can also try to simplify your request or try your request later. For example, if you are requesting a large number of objects in a single request, you can try requesting fewer objects split over multiple queries.

{% endif %}
6 changes: 3 additions & 3 deletions data/reusables/actions/azure-vnet-procedures-prereqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ You will use a script to automate configuring your Azure resources.
properties: {
protocol: '*'
sourcePortRange: '*'
destinationPortRange: '*'
destinationPortRange: '443'
sourceAddressPrefix: '*'
access: 'Allow'
priority: 210
Expand Down Expand Up @@ -125,7 +125,7 @@ You will use a script to automate configuring your Azure resources.
properties: {
protocol: '*'
sourcePortRange: '*'
destinationPortRange: '*'
destinationPortRange: '443'
sourceAddressPrefix: '*'
access: 'Allow'
priority: 220
Expand Down Expand Up @@ -207,7 +207,7 @@ You will use a script to automate configuring your Azure resources.
properties: {
protocol: '*'
sourcePortRange: '*'
destinationPortRange: '*'
destinationPortRange: '443'
sourceAddressPrefix: '*'
destinationAddressPrefix: 'Storage'
access: 'Allow'
Expand Down

0 comments on commit 7e7b1d9

Please sign in to comment.