Skip to content

Commit 82ed7fd

Browse files
authored
GraphQL schema update
2 parents 5805db4 + f8ade60 commit 82ed7fd

File tree

6 files changed

+136
-2
lines changed

6 files changed

+136
-2
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,6 +2132,16 @@ type CheckRun implements Node & UniformResourceLocatable {
21322132
externalId: String
21332133
id: ID!
21342134

2135+
"""
2136+
Whether this check run is required to pass before merging.
2137+
"""
2138+
isRequired(
2139+
"""
2140+
The pull request this check is required for
2141+
"""
2142+
pullRequestId: ID!
2143+
): Boolean!
2144+
21352145
"""
21362146
The name of the check for this check run.
21372147
"""
@@ -31869,6 +31879,16 @@ type StatusContext implements Node {
3186931879
description: String
3187031880
id: ID!
3187131881

31882+
"""
31883+
Whether this status is required to pass before merging.
31884+
"""
31885+
isRequired(
31886+
"""
31887+
The pull request this status is required for
31888+
"""
31889+
pullRequestId: ID!
31890+
): Boolean!
31891+
3187231892
"""
3187331893
The state of this status context.
3187431894
"""

data/graphql/schema.docs.graphql

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,6 +2222,16 @@ type CheckRun implements Node & UniformResourceLocatable {
22222222
externalId: String
22232223
id: ID!
22242224

2225+
"""
2226+
Whether this check run is required to pass before merging.
2227+
"""
2228+
isRequired(
2229+
"""
2230+
The pull request this check is required for
2231+
"""
2232+
pullRequestId: ID!
2233+
): Boolean!
2234+
22252235
"""
22262236
The name of the check for this check run.
22272237
"""
@@ -34802,6 +34812,16 @@ type StatusContext implements Node {
3480234812
description: String
3480334813
id: ID!
3480434814

34815+
"""
34816+
Whether this status is required to pass before merging.
34817+
"""
34818+
isRequired(
34819+
"""
34820+
The pull request this status is required for
34821+
"""
34822+
pullRequestId: ID!
34823+
): Boolean!
34824+
3480534825
"""
3480634826
The state of this status context.
3480734827
"""

lib/graphql/static/changelog.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Field `isRequired` was added to object type `CheckRun`",
8+
"Field `isRequired` was added to object type `StatusContext`"
9+
]
10+
}
11+
],
12+
"previewChanges": [],
13+
"upcomingChanges": [],
14+
"date": "2021-03-18"
15+
},
216
{
317
"schemaChanges": [
418
{

lib/graphql/static/prerendered-objects.json

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

lib/graphql/static/schema-dotcom.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8340,6 +8340,26 @@
83408340
"kind": "scalars",
83418341
"href": "/graphql/reference/scalars#string"
83428342
},
8343+
{
8344+
"name": "isRequired",
8345+
"description": "<p>Whether this check run is required to pass before merging.</p>",
8346+
"type": "Boolean!",
8347+
"id": "boolean",
8348+
"kind": "scalars",
8349+
"href": "/graphql/reference/scalars#boolean",
8350+
"arguments": [
8351+
{
8352+
"name": "pullRequestId",
8353+
"description": "<p>The pull request this check is required for.</p>",
8354+
"type": {
8355+
"name": "ID!",
8356+
"id": "id",
8357+
"kind": "scalars",
8358+
"href": "/graphql/reference/scalars#id"
8359+
}
8360+
}
8361+
]
8362+
},
83438363
{
83448364
"name": "name",
83458365
"description": "<p>The name of the check for this check run.</p>",
@@ -48997,6 +49017,26 @@
4899749017
"kind": "scalars",
4899849018
"href": "/graphql/reference/scalars#string"
4899949019
},
49020+
{
49021+
"name": "isRequired",
49022+
"description": "<p>Whether this status is required to pass before merging.</p>",
49023+
"type": "Boolean!",
49024+
"id": "boolean",
49025+
"kind": "scalars",
49026+
"href": "/graphql/reference/scalars#boolean",
49027+
"arguments": [
49028+
{
49029+
"name": "pullRequestId",
49030+
"description": "<p>The pull request this status is required for.</p>",
49031+
"type": {
49032+
"name": "ID!",
49033+
"id": "id",
49034+
"kind": "scalars",
49035+
"href": "/graphql/reference/scalars#id"
49036+
}
49037+
}
49038+
]
49039+
},
4900049040
{
4900149041
"name": "state",
4900249042
"description": "<p>The state of this status context.</p>",

lib/graphql/static/schema-ghae.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7527,6 +7527,26 @@
75277527
"kind": "scalars",
75287528
"href": "/graphql/reference/scalars#string"
75297529
},
7530+
{
7531+
"name": "isRequired",
7532+
"description": "<p>Whether this check run is required to pass before merging.</p>",
7533+
"type": "Boolean!",
7534+
"id": "boolean",
7535+
"kind": "scalars",
7536+
"href": "/graphql/reference/scalars#boolean",
7537+
"arguments": [
7538+
{
7539+
"name": "pullRequestId",
7540+
"description": "<p>The pull request this check is required for.</p>",
7541+
"type": {
7542+
"name": "ID!",
7543+
"id": "id",
7544+
"kind": "scalars",
7545+
"href": "/graphql/reference/scalars#id"
7546+
}
7547+
}
7548+
]
7549+
},
75307550
{
75317551
"name": "name",
75327552
"description": "<p>The name of the check for this check run.</p>",
@@ -45359,6 +45379,26 @@
4535945379
"kind": "scalars",
4536045380
"href": "/graphql/reference/scalars#string"
4536145381
},
45382+
{
45383+
"name": "isRequired",
45384+
"description": "<p>Whether this status is required to pass before merging.</p>",
45385+
"type": "Boolean!",
45386+
"id": "boolean",
45387+
"kind": "scalars",
45388+
"href": "/graphql/reference/scalars#boolean",
45389+
"arguments": [
45390+
{
45391+
"name": "pullRequestId",
45392+
"description": "<p>The pull request this status is required for.</p>",
45393+
"type": {
45394+
"name": "ID!",
45395+
"id": "id",
45396+
"kind": "scalars",
45397+
"href": "/graphql/reference/scalars#id"
45398+
}
45399+
}
45400+
]
45401+
},
4536245402
{
4536345403
"name": "state",
4536445404
"description": "<p>The state of this status context.</p>",

0 commit comments

Comments
 (0)