Skip to content

Commit a3eb072

Browse files
authored
Merge pull request #15360 from github/repo-sync
repo sync
2 parents 99313cc + 0a72f65 commit a3eb072

File tree

12 files changed

+34
-422
lines changed

12 files changed

+34
-422
lines changed

.github/workflows/azure-preview-env-deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,15 @@ jobs:
150150
name: Check out user code to temp directory
151151
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
152152
with:
153-
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
154-
ref: ${{ env.COMMIT_REF }}
155153
path: ./user-code
154+
ref: ${{ env.COMMIT_REF }}
156155

157156
# Move acceptable user changes into our main branch checkout
158157
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
159158
name: Move acceptable user changes
160159
run: |
160+
# Make sure recursive path expansion is enabled
161+
shopt -s globstar
161162
rsync -rptovR ./user-code/content/./**/*.md ./content
162163
rsync -rptovR ./user-code/assets/./**/*.png ./assets
163164
rsync -rptovR ./user-code/data/./**/*.{yml,md} ./data

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

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -34221,86 +34221,6 @@
3422134221
}
3422234222
]
3422334223
},
34224-
{
34225-
"verb": "delete",
34226-
"requestPath": "/reactions/{reaction_id}",
34227-
"serverUrl": "https://api.github.com",
34228-
"parameters": [
34229-
{
34230-
"name": "reaction_id",
34231-
"in": "path",
34232-
"required": true,
34233-
"schema": {
34234-
"type": "integer"
34235-
},
34236-
"descriptionHTML": ""
34237-
}
34238-
],
34239-
"x-codeSamples": [
34240-
{
34241-
"lang": "Shell",
34242-
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/reactions/42",
34243-
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/reactions/42</code></pre>"
34244-
},
34245-
{
34246-
"lang": "JavaScript",
34247-
"source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42\n})",
34248-
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /reactions/{reaction_id}'</span>, {\n <span class=\"hljs-attr\">reaction_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
34249-
}
34250-
],
34251-
"summary": "Delete a reaction (Legacy)",
34252-
"description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments).",
34253-
"tags": [
34254-
"reactions"
34255-
],
34256-
"operationId": "reactions/delete-legacy",
34257-
"externalDocs": {
34258-
"description": "API method documentation",
34259-
"url": "https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy"
34260-
},
34261-
"x-github": {
34262-
"githubCloudOnly": false,
34263-
"enabledForGitHubApps": true,
34264-
"removalDate": "2021-02-21",
34265-
"deprecationDate": "2020-02-26",
34266-
"category": "reactions",
34267-
"subcategory": null
34268-
},
34269-
"deprecated": true,
34270-
"slug": "delete-a-reaction-legacy",
34271-
"category": "reactions",
34272-
"categoryLabel": "Reactions",
34273-
"notes": [],
34274-
"bodyParameters": [],
34275-
"descriptionHTML": "<p><strong>Deprecation Notice:</strong> This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this <a href=\"https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/\">blog post</a>.</p>\n<p>OAuth access tokens require the <code>write:discussion</code> <a href=\"https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/\">scope</a>, when deleting a <a href=\"https://docs.github.com/rest/reference/teams#discussions\">team discussion</a> or <a href=\"https://docs.github.com/rest/reference/teams#discussion-comments\">team discussion comment</a>.</p>",
34276-
"responses": [
34277-
{
34278-
"httpStatusCode": "204",
34279-
"httpStatusMessage": "No Content",
34280-
"description": "<p>Response</p>"
34281-
},
34282-
{
34283-
"httpStatusCode": "304",
34284-
"httpStatusMessage": "Not Modified",
34285-
"description": "<p>Not modified</p>"
34286-
},
34287-
{
34288-
"httpStatusCode": "401",
34289-
"httpStatusMessage": "Unauthorized",
34290-
"description": "<p>Requires authentication</p>"
34291-
},
34292-
{
34293-
"httpStatusCode": "403",
34294-
"httpStatusMessage": "Forbidden",
34295-
"description": "<p>Forbidden</p>"
34296-
},
34297-
{
34298-
"httpStatusCode": "410",
34299-
"httpStatusMessage": "Gone",
34300-
"description": "<p>Gone</p>"
34301-
}
34302-
]
34303-
},
3430434224
{
3430534225
"verb": "get",
3430634226
"requestPath": "/repos/{owner}/{repo}",

lib/rest/static/decorated/github.ae.json

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -24966,86 +24966,6 @@
2496624966
}
2496724967
]
2496824968
},
24969-
{
24970-
"verb": "delete",
24971-
"requestPath": "/reactions/{reaction_id}",
24972-
"serverUrl": "https://{hostname}/api/v3",
24973-
"parameters": [
24974-
{
24975-
"name": "reaction_id",
24976-
"in": "path",
24977-
"required": true,
24978-
"schema": {
24979-
"type": "integer"
24980-
},
24981-
"descriptionHTML": ""
24982-
}
24983-
],
24984-
"x-codeSamples": [
24985-
{
24986-
"lang": "Shell",
24987-
"source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/reactions/42",
24988-
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/reactions/42</code></pre>"
24989-
},
24990-
{
24991-
"lang": "JavaScript",
24992-
"source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42\n})",
24993-
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'DELETE /reactions/{reaction_id}'</span>, {\n <span class=\"hljs-attr\">reaction_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
24994-
}
24995-
],
24996-
"summary": "Delete a reaction (Legacy)",
24997-
"description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/github-ae@latest/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments).",
24998-
"tags": [
24999-
"reactions"
25000-
],
25001-
"operationId": "reactions/delete-legacy",
25002-
"externalDocs": {
25003-
"description": "API method documentation",
25004-
"url": "https://docs.github.com/github-ae@latest/rest/reference/reactions/#delete-a-reaction-legacy"
25005-
},
25006-
"x-github": {
25007-
"githubCloudOnly": false,
25008-
"enabledForGitHubApps": true,
25009-
"removalDate": "2021-02-21",
25010-
"deprecationDate": "2020-02-26",
25011-
"category": "reactions",
25012-
"subcategory": null
25013-
},
25014-
"deprecated": true,
25015-
"slug": "delete-a-reaction-legacy",
25016-
"category": "reactions",
25017-
"categoryLabel": "Reactions",
25018-
"notes": [],
25019-
"bodyParameters": [],
25020-
"descriptionHTML": "<p><strong>Deprecation Notice:</strong> This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this <a href=\"https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/\">blog post</a>.</p>\n<p>OAuth access tokens require the <code>write:discussion</code> <a href=\"https://docs.github.com/github-ae@latest/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/\">scope</a>, when deleting a <a href=\"https://docs.github.com/github-ae@latest/rest/reference/teams#discussions\">team discussion</a> or <a href=\"https://docs.github.com/github-ae@latest/rest/reference/teams#discussion-comments\">team discussion comment</a>.</p>",
25021-
"responses": [
25022-
{
25023-
"httpStatusCode": "204",
25024-
"httpStatusMessage": "No Content",
25025-
"description": "<p>Response</p>"
25026-
},
25027-
{
25028-
"httpStatusCode": "304",
25029-
"httpStatusMessage": "Not Modified",
25030-
"description": "<p>Not modified</p>"
25031-
},
25032-
{
25033-
"httpStatusCode": "401",
25034-
"httpStatusMessage": "Unauthorized",
25035-
"description": "<p>Requires authentication</p>"
25036-
},
25037-
{
25038-
"httpStatusCode": "403",
25039-
"httpStatusMessage": "Forbidden",
25040-
"description": "<p>Forbidden</p>"
25041-
},
25042-
{
25043-
"httpStatusCode": "410",
25044-
"httpStatusMessage": "Gone",
25045-
"description": "<p>Gone</p>"
25046-
}
25047-
]
25048-
},
2504924969
{
2505024970
"verb": "get",
2505124971
"requestPath": "/repos/{owner}/{repo}",

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 0 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -125023,125 +125023,6 @@
125023125023
}
125024125024
}
125025125025
},
125026-
"/reactions/{reaction_id}": {
125027-
"delete": {
125028-
"summary": "Delete a reaction (Legacy)",
125029-
"description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Reactions API. We recommend migrating your existing code to use the new delete reactions endpoints. For more information, see this [blog post](https://developer.github.com/changes/2020-02-26-new-delete-reactions-endpoints/).\n\nOAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), when deleting a [team discussion](https://docs.github.com/rest/reference/teams#discussions) or [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments).",
125030-
"tags": [
125031-
"reactions"
125032-
],
125033-
"operationId": "reactions/delete-legacy",
125034-
"externalDocs": {
125035-
"description": "API method documentation",
125036-
"url": "https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy"
125037-
},
125038-
"parameters": [
125039-
{
125040-
"name": "reaction_id",
125041-
"in": "path",
125042-
"required": true,
125043-
"schema": {
125044-
"type": "integer"
125045-
}
125046-
}
125047-
],
125048-
"responses": {
125049-
"204": {
125050-
"description": "Response"
125051-
},
125052-
"304": {
125053-
"description": "Not modified"
125054-
},
125055-
"403": {
125056-
"description": "Forbidden",
125057-
"content": {
125058-
"application/json": {
125059-
"schema": {
125060-
"title": "Basic Error",
125061-
"description": "Basic Error",
125062-
"type": "object",
125063-
"properties": {
125064-
"message": {
125065-
"type": "string"
125066-
},
125067-
"documentation_url": {
125068-
"type": "string"
125069-
},
125070-
"url": {
125071-
"type": "string"
125072-
},
125073-
"status": {
125074-
"type": "string"
125075-
}
125076-
}
125077-
}
125078-
}
125079-
}
125080-
},
125081-
"401": {
125082-
"description": "Requires authentication",
125083-
"content": {
125084-
"application/json": {
125085-
"schema": {
125086-
"title": "Basic Error",
125087-
"description": "Basic Error",
125088-
"type": "object",
125089-
"properties": {
125090-
"message": {
125091-
"type": "string"
125092-
},
125093-
"documentation_url": {
125094-
"type": "string"
125095-
},
125096-
"url": {
125097-
"type": "string"
125098-
},
125099-
"status": {
125100-
"type": "string"
125101-
}
125102-
}
125103-
}
125104-
}
125105-
}
125106-
},
125107-
"410": {
125108-
"description": "Gone",
125109-
"content": {
125110-
"application/json": {
125111-
"schema": {
125112-
"title": "Basic Error",
125113-
"description": "Basic Error",
125114-
"type": "object",
125115-
"properties": {
125116-
"message": {
125117-
"type": "string"
125118-
},
125119-
"documentation_url": {
125120-
"type": "string"
125121-
},
125122-
"url": {
125123-
"type": "string"
125124-
},
125125-
"status": {
125126-
"type": "string"
125127-
}
125128-
}
125129-
}
125130-
}
125131-
}
125132-
}
125133-
},
125134-
"x-github": {
125135-
"githubCloudOnly": false,
125136-
"enabledForGitHubApps": true,
125137-
"removalDate": "2021-02-21",
125138-
"deprecationDate": "2020-02-26",
125139-
"category": "reactions",
125140-
"subcategory": null
125141-
},
125142-
"deprecated": true
125143-
}
125144-
},
125145125026
"/repos/{owner}/{repo}": {
125146125027
"get": {
125147125028
"summary": "Get a repository",

0 commit comments

Comments
 (0)