Skip to content

Commit be1cc1b

Browse files
authored
Merge pull request #5744 from github/repo-sync
repo sync
2 parents 0a0c11d + 3cfa15d commit be1cc1b

File tree

9 files changed

+29153
-70
lines changed

9 files changed

+29153
-70
lines changed

content/admin/enterprise-management/upgrading-github-enterprise-server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ There are two types of snapshots:
8181
| Hyper-V | VM | <https://docs.microsoft.com/windows-server/virtualization/hyper-v/manage/enable-or-disable-checkpoints-in-hyper-v>
8282
| Google Compute Engine | Disk | <https://cloud.google.com/compute/docs/disks/create-snapshots>
8383
| VMware | VM | <https://pubs.vmware.com/vsphere-50/topic/com.vmware.wssdk.pg.doc_50/PG_Ch11_VM_Manage.13.3.html>
84-
| XenServer | VM | <https://support.citrix.com/article/CTX122978>
84+
| XenServer | VM | <https://docs.citrix.com/en-us/xencenter/current-release/vms-snapshots.html>
8585

8686
### Upgrading with a hotpatch
8787

content/code-security/supply-chain-security/configuration-options-for-dependency-updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ updates:
164164

165165
{% data reusables.dependabot.default-dependencies-allow-ignore %}
166166

167-
Use the `allow` option to customize which dependencies are updated. This has no impact on security updates for vulnerable dependencies. You can use the following options:
167+
Use the `allow` option to customize which dependencies are updated. This applies to both version and security updates. You can use the following options:
168168

169169
- `dependency-name`—use to allow updates for dependencies with matching names, optionally using `*` to match zero or more characters. For Java dependencies, the format of the `dependency-name` attribute is: `groupId:artifactId`, for example: `org.kohsuke:github-api`.
170170
- `dependency-type`—use to allow updates for dependencies of specific types.

content/rest/reference/permissions-required-for-github-apps.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ _Search_
160160
{% if currentVersion == "free-pro-team@latest" %}
161161
- [`DELETE /repos/:owner/:repo/interaction-limits`](/rest/reference/interactions#remove-interaction-restrictions-for-a-repository) (:write)
162162
{% endif %}
163+
{% if currentVersion == "free-pro-team@latest" %}
164+
- [`GET /repos/:owner/:repo/pages/health`](/rest/reference/repos#get-a-dns-health-check-for-github-pages) (:write)
165+
{% endif %}
163166
- [`PUT /repos/:owner/:repo/topics`](/rest/reference/repos#replace-all-repository-topics) (:write)
164167
- [`POST /repos/:owner/:repo/transfer`](/rest/reference/repos#transfer-a-repository) (:write)
165168
{% if currentVersion == "free-pro-team@latest" %}
@@ -678,6 +681,9 @@ _Teams_
678681
- [`POST /repos/:owner/:repo/pages/builds`](/rest/reference/repos#request-a-github-pages-build) (:write)
679682
- [`GET /repos/:owner/:repo/pages/builds/:build_id`](/rest/reference/repos#get-github-pages-build) (:read)
680683
- [`GET /repos/:owner/:repo/pages/builds/latest`](/rest/reference/repos#get-latest-pages-build) (:read)
684+
{% if currentVersion == "free-pro-team@latest" %}
685+
- [`GET /repos/:owner/:repo/pages/health`](/rest/reference/repos#get-a-dns-health-check-for-github-pages) (:write)
686+
{% endif %}
681687

682688
### Permission on "pull requests"
683689

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile.openapi_decorator
7-
image: 'openapi_decorator:${BUILD_SHA}'
7+
image: 'openapi_decorator'

lib/rest/static/decorated/api.github.com.json

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66563,6 +66563,95 @@
6656366563
}
6656466564
]
6656566565
},
66566+
{
66567+
"verb": "get",
66568+
"requestPath": "/repos/{owner}/{repo}/pages/health",
66569+
"serverUrl": "https://api.github.com",
66570+
"parameters": [
66571+
{
66572+
"name": "owner",
66573+
"in": "path",
66574+
"required": true,
66575+
"schema": {
66576+
"type": "string"
66577+
},
66578+
"descriptionHTML": ""
66579+
},
66580+
{
66581+
"name": "repo",
66582+
"in": "path",
66583+
"required": true,
66584+
"schema": {
66585+
"type": "string"
66586+
},
66587+
"descriptionHTML": ""
66588+
}
66589+
],
66590+
"x-codeSamples": [
66591+
{
66592+
"lang": "Shell",
66593+
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/health",
66594+
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/pages/health</code></pre>"
66595+
},
66596+
{
66597+
"lang": "JavaScript",
66598+
"source": "await octokit.request('GET /repos/{owner}/{repo}/pages/health', {\n owner: 'octocat',\n repo: 'hello-world'\n})",
66599+
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/pages/health'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>\n})\n</code></pre>"
66600+
}
66601+
],
66602+
"summary": "Get a DNS health check for GitHub Pages",
66603+
"description": "Gets a health check of the DNS settings for the `CNAME` record configured for a repository's GitHub Pages.\n\nThe first request to this endpoint returns a `202 Accepted` status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a `200 OK` status with the health check results in the response.\n\nUsers must have admin or owner permissions. GitHub Apps must have the `pages:write` and `administration:write` permission to use this endpoint.",
66604+
"tags": [
66605+
"repos"
66606+
],
66607+
"operationId": "repos/get-pages-health-check",
66608+
"externalDocs": {
66609+
"description": "API method documentation",
66610+
"url": "https://docs.github.com/rest/reference/repos#get-a-dns-health-check-for-github-pages"
66611+
},
66612+
"x-github": {
66613+
"githubCloudOnly": false,
66614+
"enabledForGitHubApps": true,
66615+
"category": "repos",
66616+
"subcategory": "pages"
66617+
},
66618+
"slug": "get-a-dns-health-check-for-github-pages",
66619+
"category": "repos",
66620+
"categoryLabel": "Repos",
66621+
"subcategory": "pages",
66622+
"subcategoryLabel": "Pages",
66623+
"notes": [],
66624+
"bodyParameters": [],
66625+
"descriptionHTML": "<p>Gets a health check of the DNS settings for the <code>CNAME</code> record configured for a repository's GitHub Pages.</p>\n<p>The first request to this endpoint returns a <code>202 Accepted</code> status and starts an asynchronous background task to get the results for the domain. After the background task completes, subsequent requests to this endpoint return a <code>200 OK</code> status with the health check results in the response.</p>\n<p>Users must have admin or owner permissions. GitHub Apps must have the <code>pages:write</code> and <code>administration:write</code> permission to use this endpoint.</p>",
66626+
"responses": [
66627+
{
66628+
"httpStatusCode": "200",
66629+
"httpStatusMessage": "OK",
66630+
"description": "Response",
66631+
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"domain\"</span>: {\n <span class=\"hljs-attr\">\"host\"</span>: <span class=\"hljs-string\">\"example.com\"</span>,\n <span class=\"hljs-attr\">\"uri\"</span>: <span class=\"hljs-string\">\"http://example.com/\"</span>,\n <span class=\"hljs-attr\">\"nameservers\"</span>: <span class=\"hljs-string\">\"default\"</span>,\n <span class=\"hljs-attr\">\"dns_resolves\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_proxied\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_cloudflare_ip\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_fastly_ip\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_old_ip_address\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_a_record\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"has_cname_record\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"has_mx_records_present\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_valid_domain\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_apex_domain\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"should_be_a_record\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_cname_to_github_user_domain\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_cname_to_pages_dot_github_dot_com\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_cname_to_fastly\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_pointed_to_github_pages_ip\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_non_github_pages_ip_present\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_pages_domain\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_served_by_pages\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_valid\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"reason\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"responds_to_https\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"enforces_https\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"https_error\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"is_https_eligible\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"caa_error\"</span>: <span class=\"hljs-literal\">null</span>\n },\n <span class=\"hljs-attr\">\"alt_domain\"</span>: {\n <span class=\"hljs-attr\">\"host\"</span>: <span class=\"hljs-string\">\"www.example.com\"</span>,\n <span class=\"hljs-attr\">\"uri\"</span>: <span class=\"hljs-string\">\"http://www.example.com/\"</span>,\n <span class=\"hljs-attr\">\"nameservers\"</span>: <span class=\"hljs-string\">\"default\"</span>,\n <span class=\"hljs-attr\">\"dns_resolves\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_proxied\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_cloudflare_ip\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_fastly_ip\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_old_ip_address\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_a_record\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"has_cname_record\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"has_mx_records_present\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_valid_domain\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_apex_domain\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"should_be_a_record\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_cname_to_github_user_domain\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_cname_to_pages_dot_github_dot_com\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_cname_to_fastly\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_pointed_to_github_pages_ip\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_non_github_pages_ip_present\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_pages_domain\"</span>: <span class=\"hljs-literal\">false</span>,\n <span class=\"hljs-attr\">\"is_served_by_pages\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"is_valid\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"reason\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"responds_to_https\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"enforces_https\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"https_error\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"is_https_eligible\"</span>: <span class=\"hljs-literal\">true</span>,\n <span class=\"hljs-attr\">\"caa_error\"</span>: <span class=\"hljs-literal\">null</span>\n }\n}\n</code></pre>"
66632+
},
66633+
{
66634+
"httpStatusCode": "202",
66635+
"httpStatusMessage": "Accepted",
66636+
"description": "Empty response"
66637+
},
66638+
{
66639+
"httpStatusCode": "400",
66640+
"httpStatusMessage": "Bad Request",
66641+
"description": "Custom domains are not available for GitHub Pages"
66642+
},
66643+
{
66644+
"httpStatusCode": "404",
66645+
"httpStatusMessage": "Not Found",
66646+
"description": "Resource not found"
66647+
},
66648+
{
66649+
"httpStatusCode": "422",
66650+
"httpStatusMessage": "Unprocessable Entity",
66651+
"description": "There isn't a CNAME for this page"
66652+
}
66653+
]
66654+
},
6656666655
{
6656766656
"verb": "get",
6656866657
"requestPath": "/repos/{owner}/{repo}/projects",

0 commit comments

Comments
 (0)