1
0
mirror of synced 2026-01-06 06:02:35 -05:00

[DO NOT MERGE] GitHub Enterprise Server 3.1 release candidate megabranch (#18399)

* 3.1 megabranch

* these should be in a topic branch to avoid unnecessary ci failures

* add copies of 3.0 schema files

* update link veresion from 3.0 -> 3.1

* update correct version 🤦‍♀️

* update with 3.1 version links

* first stab of this work

* fix product variable and links to section that has been moved

* simplify Liquid conditions

* elsif

* Update content/github/managing-subscriptions-and-notifications-on-github/viewing-your-subscriptions.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* [GHES 3.1] Code scanning: SARIF limit increased to 5000 (#18539)

* revert api previews

* delete 3.1 preview

* Revert "delete 3.1 preview"

This reverts commit 0a7df3e17a1e182e5b01b0fdafacb6bb19100f70.

* regenerate decorated file

* make security policy docs available in GHES 3.1 and GHAE docs

* adapt for GHES/GHAE and remove the word

* revert a whole bunch of stuff

* more reverting and further updating

* update links to Adding a security policy to your repo article

* fix broken links and remove responsibly

* simplify Liquid versioning

* Update content/code-security/getting-started/adding-a-security-policy-to-your-repository.md

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* address comment

* Remove overcomplicated versioning (#18934)

* Update information on licensing and billing for GHES 3.1 (#18835)

* regenerate graphql files with new prerendered input object

* add release notes placeholder file

* add scaffolding

* use real date

* ✂️  3.1 schema added accidentally

* update enterprise release dates

* add base files

* Correct versioning for branch renaming and master to main transition in GHES docs (#19050)

* update versioning

* apply Alistair's suggestion

* add new cached index names

* Update docs for code scanning in external CI to cover CodeQL CLI usage (#19030)

* 3893 add missing flag for GHES and GHAE (next) users (#19129)

* [GHES 3.1] Release candidate 1 release notes  (#18419)

* fleshing out the 33.1 RC1 release notes

* update with moreee

* really flesh it all out

* format a bit

* fix linter errors

* fix errors again

* add quotes around heading with Liquid

* placeholder to get error fixed

* add quotes

* just remove thoose things

* typo

* Update 0-rc1.yml

* update with feedback

* add workflow beta

* upload increase

* some last changes

* change the date

* fix links

Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>

* Conflict resolution between 19082 and 3.1 Megabranch (#19158)

* Fix typo in new reusable

* delete 3.1 rest schema files

* Update OpenAPI Descriptions (#19166)

* last minute additions yikes

* redeploy staging

Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
This commit is contained in:
Rachael Sewell
2021-05-06 09:41:42 -07:00
committed by GitHub
parent a5bc762b35
commit 46fda7b959
177 changed files with 562790 additions and 383 deletions

View File

@@ -33579,13 +33579,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -33659,13 +33659,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -33738,13 +33738,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -33793,6 +33793,95 @@
}
]
},
{
"verb": "post",
"requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/approve",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "owner",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "repo",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
},
{
"name": "run_id",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/approve",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/actions/runs/42/approve</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve', {\n owner: 'octocat',\n repo: 'hello-world',\n run_id: 42\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve'</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 <span class=\"hljs-attr\">run_id</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
}
],
"summary": "Approve a workflow run for a fork pull request",
"description": "**Note:** This endpoint is currently in beta and is subject to change.\n\nApproves a workflow run for a pull request from a public fork of a first time contributor. For more information, see [\"Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.",
"tags": [
"actions"
],
"operationId": "actions/approve-workflow-run",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"previews": [],
"category": "actions",
"subcategory": "workflow-runs"
},
"slug": "approve-a-workflow-run-for-a-fork-pull-request",
"category": "actions",
"categoryLabel": "Actions",
"subcategory": "workflow-runs",
"subcategoryLabel": "Workflow runs",
"notes": [],
"responses": [
{
"httpStatusCode": "201",
"httpStatusMessage": "Created",
"description": "Response"
},
{
"httpStatusCode": "403",
"httpStatusMessage": "Forbidden",
"description": "Forbidden"
},
{
"httpStatusCode": "404",
"httpStatusMessage": "Not Found",
"description": "Resource not found"
}
],
"bodyParameters": [],
"descriptionHTML": "<p><strong>Note:</strong> This endpoint is currently in beta and is subject to change.</p>\n<p>Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see <a href=\"https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks\">\"Approving workflow runs from public forks</a>.\"</p>\n<p>You must authenticate using an access token with the <code>repo</code> scope to use this endpoint. GitHub Apps must have the <code>actions:write</code> permission to use this endpoint.</p>"
},
{
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",
@@ -33818,13 +33907,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
},
{
"name": "per_page",
@@ -33918,13 +34007,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -33997,13 +34086,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
},
{
"name": "filter",
@@ -34112,13 +34201,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -34191,13 +34280,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -34270,13 +34359,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -34350,13 +34439,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -34529,13 +34618,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -34608,13 +34697,13 @@
},
{
"name": "run_id",
"description": "The id of the workflow run",
"description": "The id of the workflow run.",
"in": "path",
"required": true,
"schema": {
"type": "integer"
},
"descriptionHTML": "<p>The id of the workflow run</p>"
"descriptionHTML": "<p>The id of the workflow run.</p>"
}
],
"x-codeSamples": [
@@ -50141,7 +50230,7 @@
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "Response",
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"health_percentage\"</span>: <span class=\"hljs-number\">100</span>,\n <span class=\"hljs-attr\">\"description\"</span>: <span class=\"hljs-string\">\"My first repository on GitHub!\"</span>,\n <span class=\"hljs-attr\">\"documentation\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"files\"</span>: {\n <span class=\"hljs-attr\">\"code_of_conduct\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Contributor Covenant\"</span>,\n <span class=\"hljs-attr\">\"key\"</span>: <span class=\"hljs-string\">\"contributor_covenant\"</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/codes_of_conduct/contributor_covenant\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md\"</span>\n },\n <span class=\"hljs-attr\">\"contributing\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING\"</span>\n },\n <span class=\"hljs-attr\">\"issue_template\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE\"</span>\n },\n <span class=\"hljs-attr\">\"pull_request_template\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE\"</span>\n },\n <span class=\"hljs-attr\">\"license\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"MIT License\"</span>,\n <span class=\"hljs-attr\">\"key\"</span>: <span class=\"hljs-string\">\"mit\"</span>,\n <span class=\"hljs-attr\">\"spdx_id\"</span>: <span class=\"hljs-string\">\"MIT\"</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/licenses/mit\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/LICENSE\"</span>,\n <span class=\"hljs-attr\">\"node_id\"</span>: <span class=\"hljs-string\">\"MDc6TGljZW5zZW1pdA==\"</span>\n },\n <span class=\"hljs-attr\">\"readme\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/README.md\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/README.md\"</span>\n }\n },\n <span class=\"hljs-attr\">\"updated_at\"</span>: <span class=\"hljs-string\">\"2017-02-28T19:09:29Z\"</span>,\n <span class=\"hljs-attr\">\"content_reports_enabled\"</span>: <span class=\"hljs-literal\">true</span>\n}\n</code></pre>"
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"health_percentage\"</span>: <span class=\"hljs-number\">100</span>,\n <span class=\"hljs-attr\">\"description\"</span>: <span class=\"hljs-string\">\"My first repository on GitHub!\"</span>,\n <span class=\"hljs-attr\">\"documentation\"</span>: <span class=\"hljs-literal\">null</span>,\n <span class=\"hljs-attr\">\"files\"</span>: {\n <span class=\"hljs-attr\">\"code_of_conduct\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"Contributor Covenant\"</span>,\n <span class=\"hljs-attr\">\"key\"</span>: <span class=\"hljs-string\">\"contributor_covenant\"</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/codes_of_conduct/contributor_covenant\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md\"</span>\n },\n <span class=\"hljs-attr\">\"code_of_conduct_file\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/CODE_OF_CONDUCT.md\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md\"</span>\n },\n <span class=\"hljs-attr\">\"contributing\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING\"</span>\n },\n <span class=\"hljs-attr\">\"issue_template\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE\"</span>\n },\n <span class=\"hljs-attr\">\"pull_request_template\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE\"</span>\n },\n <span class=\"hljs-attr\">\"license\"</span>: {\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"MIT License\"</span>,\n <span class=\"hljs-attr\">\"key\"</span>: <span class=\"hljs-string\">\"mit\"</span>,\n <span class=\"hljs-attr\">\"spdx_id\"</span>: <span class=\"hljs-string\">\"MIT\"</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/licenses/mit\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/LICENSE\"</span>,\n <span class=\"hljs-attr\">\"node_id\"</span>: <span class=\"hljs-string\">\"MDc6TGljZW5zZW1pdA==\"</span>\n },\n <span class=\"hljs-attr\">\"readme\"</span>: {\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/octocat/Hello-World/contents/README.md\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/octocat/Hello-World/blob/master/README.md\"</span>\n }\n },\n <span class=\"hljs-attr\">\"updated_at\"</span>: <span class=\"hljs-string\">\"2017-02-28T19:09:29Z\"</span>,\n <span class=\"hljs-attr\">\"content_reports_enabled\"</span>: <span class=\"hljs-literal\">true</span>\n}\n</code></pre>"
}
]
},