From 44241159ffae00cfb96941dfc365d00bdf480a0f Mon Sep 17 00:00:00 2001 From: Jye Horan Date: Fri, 14 Feb 2025 17:22:53 +0800 Subject: [PATCH 1/4] Update rate-limits-and-node-limits-for-the-graphql-api.md (#54327) --- .../rate-limits-and-node-limits-for-the-graphql-api.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/graphql/overview/rate-limits-and-node-limits-for-the-graphql-api.md b/content/graphql/overview/rate-limits-and-node-limits-for-the-graphql-api.md index 7efadfe004b2..b6661e801e31 100644 --- a/content/graphql/overview/rate-limits-and-node-limits-for-the-graphql-api.md +++ b/content/graphql/overview/rate-limits-and-node-limits-for-the-graphql-api.md @@ -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 %} From e40a8fa17f79d61f15ea4fdae9e40a8af0607f2a Mon Sep 17 00:00:00 2001 From: Shaker Gilbert <24681097+shakerg@users.noreply.github.com> Date: Fri, 14 Feb 2025 04:27:16 -0500 Subject: [PATCH 2/4] Simplified the GitHub App pem import process (#54350) --- ...eploying-runner-scale-sets-with-actions-runner-controller.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md b/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md index e77dc8107eca..805e00cfa8d8 100644 --- a/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md +++ b/content/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller.md @@ -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. From 54cca3e361f79ddb5c616012c8ff449fe99365ed Mon Sep 17 00:00:00 2001 From: Shaker Gilbert <24681097+shakerg@users.noreply.github.com> Date: Fri, 14 Feb 2025 04:27:28 -0500 Subject: [PATCH 3/4] Updating the VNET NSG port rules for communication over HTTPS/443 only. (#54351) --- data/reusables/actions/azure-vnet-procedures-prereqs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/reusables/actions/azure-vnet-procedures-prereqs.md b/data/reusables/actions/azure-vnet-procedures-prereqs.md index 2b3eef76f0f1..93ee327ae9f3 100644 --- a/data/reusables/actions/azure-vnet-procedures-prereqs.md +++ b/data/reusables/actions/azure-vnet-procedures-prereqs.md @@ -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 @@ -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 @@ -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' From e0627cd9987880a2fdb170b48642ed92fa6ef3f3 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 14 Feb 2025 07:12:36 -0500 Subject: [PATCH 4/4] Update branch protection settings (#54408) Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> --- .github/branch_protection_settings/main.json | 96 +++++++++++++++++++- 1 file changed, 95 insertions(+), 1 deletion(-) diff --git a/.github/branch_protection_settings/main.json b/.github/branch_protection_settings/main.json index b557412aee0c..58480c3339dd 100644 --- a/.github/branch_protection_settings/main.json +++ b/.github/branch_protection_settings/main.json @@ -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",