Skip to content

Commit dcf6177

Browse files
authored
Merge pull request #4000 from github/repo-sync
repo sync
2 parents fb0ecf6 + 3a85702 commit dcf6177

8 files changed

Lines changed: 1731 additions & 805 deletions

File tree

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 732 additions & 122 deletions
Large diffs are not rendered by default.

data/graphql/schema.docs.graphql

Lines changed: 900 additions & 145 deletions
Large diffs are not rendered by default.

data/reusables/dependabot/supported-package-managers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ Elm | `elm` | v0.18, v0.19 | **✓** | |
1515
git submodule | `gitsubmodule` | N/A (no version) | **** | |
1616
GitHub Actions | `github-actions` | N/A (no version) | **** | |
1717
Go modules | `gomod` | v1 | **** | **** |
18-
Gradle | `gradle` | see (A) below | **** | |
19-
Maven | `maven` | see (B) below | **** | |
18+
Gradle | `gradle` | N/A (no version)<sup>[1]</sup> | **** | |
19+
Maven | `maven` | N/A (no version)<sup>[2]</sup> | **** | |
2020
npm | `npm` | v6, v7 | **** | |
21-
NuGet | `nuget` | <= 4.8.</br>see (C) below | **** | |
21+
NuGet | `nuget` | <= 4.8<sup>[3]</sup> | **** | |
2222
pip | `pip` | v20 | | |
2323
pipenv | `pip` | <= 2018.11.26 | | |
2424
pip-compile | `pip` | 5.5.0 | | |
2525
poetry | `pip` | v1 | | |
2626
Terraform | `terraform` | <= 0.11 | **** | |
2727
yarn | `npm` | v1 | **** | |
2828

29-
(A) {% data variables.product.prodname_dependabot %} doesn't run Gradle but supports updates to the following files: `build.gradle` and `build.gradle.kts` (for Kotlin projects).
29+
[1] {% data variables.product.prodname_dependabot %} doesn't run Gradle but supports updates to the following files: `build.gradle` and `build.gradle.kts` (for Kotlin projects).
3030

31-
(B) {% data variables.product.prodname_dependabot %} doesn't run Maven but supports updates to `pom.xml` files.
31+
[2] {% data variables.product.prodname_dependabot %} doesn't run Maven but supports updates to `pom.xml` files.
3232

33-
(C) {% data variables.product.prodname_dependabot %} doesn't run the NuGet CLI but does support most features up until version 4.8.
33+
[3] {% data variables.product.prodname_dependabot %} doesn't run the NuGet CLI but does support most features up until version 4.8.
3434

3535
For package managers such as `pipenv` and `poetry`, you need to use the `pip` YAML value. For example, if you use `poetry` to manage your Python dependencies and want {% data variables.product.prodname_dependabot %} to monitor your dependency manifest file for new versions, use `package-ecosystem: "pip"` in your *dependabot.yml* file.

lib/graphql/static/changelog.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Type `ApproveVerifiableDomainInput` was added",
8+
"Type `ApproveVerifiableDomainPayload` was added",
9+
"Field `approveVerifiableDomain` was added to object type `Mutation`"
10+
]
11+
}
12+
],
13+
"previewChanges": [],
14+
"upcomingChanges": [],
15+
"date": "2021-02-25"
16+
},
217
{
318
"schemaChanges": [
419
{

lib/graphql/static/schema-dotcom.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,40 @@
13891389
}
13901390
]
13911391
},
1392+
{
1393+
"name": "approveVerifiableDomain",
1394+
"kind": "mutations",
1395+
"id": "approveverifiabledomain",
1396+
"href": "/graphql/reference/mutations#approveverifiabledomain",
1397+
"description": "<p>Approve a verifiable domain for notification delivery.</p>",
1398+
"inputFields": [
1399+
{
1400+
"name": "input",
1401+
"type": "ApproveVerifiableDomainInput!",
1402+
"id": "approveverifiabledomaininput",
1403+
"kind": "input-objects",
1404+
"href": "/graphql/reference/input-objects#approveverifiabledomaininput"
1405+
}
1406+
],
1407+
"returnFields": [
1408+
{
1409+
"name": "clientMutationId",
1410+
"type": "String",
1411+
"id": "string",
1412+
"kind": "scalars",
1413+
"href": "/graphql/reference/scalars#string",
1414+
"description": "<p>A unique identifier for the client performing the mutation.</p>"
1415+
},
1416+
{
1417+
"name": "domain",
1418+
"type": "VerifiableDomain",
1419+
"id": "verifiabledomain",
1420+
"kind": "objects",
1421+
"href": "/graphql/reference/objects#verifiabledomain",
1422+
"description": "<p>The verifiable domain that was approved.</p>"
1423+
}
1424+
]
1425+
},
13921426
{
13931427
"name": "archiveRepository",
13941428
"kind": "mutations",
@@ -64196,6 +64230,32 @@
6419664230
}
6419764231
]
6419864232
},
64233+
{
64234+
"name": "ApproveVerifiableDomainInput",
64235+
"kind": "inputObjects",
64236+
"id": "approveverifiabledomaininput",
64237+
"href": "/graphql/reference/input-objects#approveverifiabledomaininput",
64238+
"description": "<p>Autogenerated input type of ApproveVerifiableDomain.</p>",
64239+
"inputFields": [
64240+
{
64241+
"name": "clientMutationId",
64242+
"description": "<p>A unique identifier for the client performing the mutation.</p>",
64243+
"type": "String",
64244+
"id": "string",
64245+
"kind": "scalars",
64246+
"href": "/graphql/reference/scalars#string"
64247+
},
64248+
{
64249+
"name": "id",
64250+
"description": "<p>The ID of the verifiable domain to approve.</p>",
64251+
"type": "ID!",
64252+
"id": "id",
64253+
"kind": "scalars",
64254+
"href": "/graphql/reference/scalars#id",
64255+
"isDeprecated": false
64256+
}
64257+
]
64258+
},
6419964259
{
6420064260
"name": "ArchiveRepositoryInput",
6420164261
"kind": "inputObjects",

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

Lines changed: 11 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -52380,86 +52380,6 @@
5238052380
}
5238152381
]
5238252382
},
52383-
{
52384-
"verb": "post",
52385-
"requestPath": "/repos/{owner}/{repo}/environments/{environment_name}",
52386-
"serverUrl": "https://api.github.com",
52387-
"parameters": [
52388-
{
52389-
"name": "owner",
52390-
"in": "path",
52391-
"required": true,
52392-
"schema": {
52393-
"type": "string"
52394-
},
52395-
"descriptionHTML": ""
52396-
},
52397-
{
52398-
"name": "repo",
52399-
"in": "path",
52400-
"required": true,
52401-
"schema": {
52402-
"type": "string"
52403-
},
52404-
"descriptionHTML": ""
52405-
},
52406-
{
52407-
"name": "environment_name",
52408-
"in": "path",
52409-
"required": true,
52410-
"description": "The name of the environment",
52411-
"schema": {
52412-
"type": "string"
52413-
},
52414-
"descriptionHTML": "<p>The name of the environment</p>"
52415-
}
52416-
],
52417-
"x-codeSamples": [
52418-
{
52419-
"lang": "Shell",
52420-
"source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/environments/ENVIRONMENT_NAME",
52421-
"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/environments/ENVIRONMENT_NAME</code></pre>"
52422-
},
52423-
{
52424-
"lang": "JavaScript",
52425-
"source": "await octokit.request('POST /repos/{owner}/{repo}/environments/{environment_name}', {\n owner: 'octocat',\n repo: 'hello-world',\n environment_name: 'environment_name'\n})",
52426-
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'POST /repos/{owner}/{repo}/environments/{environment_name}'</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\">environment_name</span>: <span class=\"hljs-string\">'environment_name'</span>\n})\n</code></pre>"
52427-
}
52428-
],
52429-
"summary": "Create an environment",
52430-
"description": "Create an environment for a repository. If an environment with the specified name already exists, the existing environment will be returned.\n\nThe created environment will not have any protection rules configured. To configure protection rules for the created environment, see \"[Set protection rules for an environment](#set-protection-rules-for-an-environment)\".\n\nYou must authenticate using an access token with the repo scope to use this endpoint.",
52431-
"tags": [
52432-
"repos"
52433-
],
52434-
"operationId": "repos/create-an-environment",
52435-
"externalDocs": {
52436-
"description": "API method documentation",
52437-
"url": "https://docs.github.com/rest/reference/repos#create-an-environment"
52438-
},
52439-
"x-github": {
52440-
"githubCloudOnly": false,
52441-
"enabledForGitHubApps": true,
52442-
"previews": [],
52443-
"category": "repos",
52444-
"subcategory": "environments"
52445-
},
52446-
"slug": "create-an-environment",
52447-
"category": "repos",
52448-
"categoryLabel": "Repos",
52449-
"subcategory": "environments",
52450-
"subcategoryLabel": "Environments",
52451-
"notes": [],
52452-
"bodyParameters": [],
52453-
"descriptionHTML": "<p>Create an environment for a repository. If an environment with the specified name already exists, the existing environment will be returned.</p>\n<p>The created environment will not have any protection rules configured. To configure protection rules for the created environment, see \"<a href=\"#set-protection-rules-for-an-environment\">Set protection rules for an environment</a>\".</p>\n<p>You must authenticate using an access token with the repo scope to use this endpoint.</p>",
52454-
"responses": [
52455-
{
52456-
"httpStatusCode": "200",
52457-
"httpStatusMessage": "OK",
52458-
"description": "Default response",
52459-
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"id\"</span>: <span class=\"hljs-number\">161088068</span>,\n <span class=\"hljs-attr\">\"node_id\"</span>: <span class=\"hljs-string\">\"MDExOkVudmlyb25tZW50MTYxMDg4MDY4\"</span>,\n <span class=\"hljs-attr\">\"name\"</span>: <span class=\"hljs-string\">\"staging\"</span>,\n <span class=\"hljs-attr\">\"url\"</span>: <span class=\"hljs-string\">\"https://api.github.com/repos/github/hello-world/environments/staging\"</span>,\n <span class=\"hljs-attr\">\"html_url\"</span>: <span class=\"hljs-string\">\"https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging\"</span>,\n <span class=\"hljs-attr\">\"created_at\"</span>: <span class=\"hljs-string\">\"2020-11-23T22:00:40Z\"</span>,\n <span class=\"hljs-attr\">\"updated_at\"</span>: <span class=\"hljs-string\">\"2020-11-23T22:00:40Z\"</span>,\n <span class=\"hljs-attr\">\"protection_rules\"</span>: [],\n <span class=\"hljs-attr\">\"deployment_branch_policy\"</span>: <span class=\"hljs-literal\">null</span>\n}\n</code></pre>"
52460-
}
52461-
]
52462-
},
5246352383
{
5246452384
"verb": "put",
5246552385
"requestPath": "/repos/{owner}/{repo}/environments/{environment_name}",
@@ -52506,15 +52426,15 @@
5250652426
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'PUT /repos/{owner}/{repo}/environments/{environment_name}'</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\">environment_name</span>: <span class=\"hljs-string\">'environment_name'</span>,\n <span class=\"hljs-attr\">wait_timer</span>: <span class=\"hljs-number\">42</span>\n})\n</code></pre>"
5250752427
}
5250852428
],
52509-
"summary": "Set protection rules for an environment",
52510-
"description": "Set protection rules, such as required reviewers, for an environment. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see \"[Environments](/actions/reference/environments#deployment-branches).\"\n\nYou must authenticate using an access token with the repo scope to use this endpoint.",
52429+
"summary": "Create or update an environment",
52430+
"description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see \"[Environments](/actions/reference/environments#deployment-branches).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the repo scope to use this endpoint.",
5251152431
"tags": [
5251252432
"repos"
5251352433
],
52514-
"operationId": "repos/set-environment-protection-rules",
52434+
"operationId": "repos/create-or-update-environment",
5251552435
"externalDocs": {
5251652436
"description": "API method documentation",
52517-
"url": "https://docs.github.com/rest/reference/repos#set-protection-rules-for-an-environment"
52437+
"url": "https://docs.github.com/rest/reference/repos#create-or-update-an-environment"
5251852438
},
5251952439
"requestBody": {
5252052440
"content": {
@@ -52534,7 +52454,7 @@
5253452454
},
5253552455
"reviewers": {
5253652456
"type": "array of objects",
52537-
"description": "<p>The people or teams that may jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>",
52457+
"description": "<p>The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>",
5253852458
"items": {
5253952459
"type": "object",
5254052460
"properties": {
@@ -52567,7 +52487,7 @@
5256752487
"name": "reviewers",
5256852488
"in": "body",
5256952489
"rawType": "array",
52570-
"rawDescription": "The people or teams that may jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.",
52490+
"rawDescription": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.",
5257152491
"childParamsGroups": [
5257252492
{
5257352493
"parentName": "reviewers",
@@ -52674,13 +52594,13 @@
5267452594
"category": "repos",
5267552595
"subcategory": "environments"
5267652596
},
52677-
"slug": "set-protection-rules-for-an-environment",
52597+
"slug": "create-or-update-an-environment",
5267852598
"category": "repos",
5267952599
"categoryLabel": "Repos",
5268052600
"subcategory": "environments",
5268152601
"subcategoryLabel": "Environments",
5268252602
"notes": [],
52683-
"descriptionHTML": "<p>Set protection rules, such as required reviewers, for an environment. For more information about environment protection rules, see \"<a href=\"/actions/reference/environments#environment-protection-rules\">Environments</a>.\"</p>\n<p><strong>Note:</strong> Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see \"<a href=\"/actions/reference/environments#deployment-branches\">Environments</a>.\"</p>\n<p>You must authenticate using an access token with the repo scope to use this endpoint.</p>",
52603+
"descriptionHTML": "<p>Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"<a href=\"/actions/reference/environments#environment-protection-rules\">Environments</a>.\"</p>\n<p><strong>Note:</strong> Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see \"<a href=\"/actions/reference/environments#deployment-branches\">Environments</a>.\"</p>\n<p><strong>Note:</strong> To create or update secrets for an environment, see \"<a href=\"/rest/reference/actions#secrets\">Secrets</a>.\"</p>\n<p>You must authenticate using an access token with the repo scope to use this endpoint.</p>",
5268452604
"responses": [
5268552605
{
5268652606
"httpStatusCode": "200",
@@ -52691,7 +52611,7 @@
5269152611
{
5269252612
"httpStatusCode": "422",
5269352613
"httpStatusMessage": "Unprocessable Entity",
52694-
"description": "Response when protected branches and custom branch policies in deployment branch policy are set to the same value"
52614+
"description": "Validation error when the environment name is invalid or when protected branches and custom branch policies in deployment branch policy are set to the same value"
5269552615
}
5269652616
],
5269752617
"bodyParameters": [
@@ -52707,7 +52627,7 @@
5270752627
},
5270852628
{
5270952629
"type": "array of objects",
52710-
"description": "<p>The people or teams that may jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>",
52630+
"description": "<p>The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>",
5271152631
"items": {
5271252632
"type": "object",
5271352633
"properties": {
@@ -52740,7 +52660,7 @@
5274052660
"name": "reviewers",
5274152661
"in": "body",
5274252662
"rawType": "array",
52743-
"rawDescription": "The people or teams that may jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.",
52663+
"rawDescription": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.",
5274452664
"childParamsGroups": [
5274552665
{
5274652666
"parentName": "reviewers",

0 commit comments

Comments
 (0)