Skip to content

Commit c703590

Browse files
authored
Action ran graphql script"update-files"
1 parent 74db808 commit c703590

6 files changed

Lines changed: 301 additions & 30 deletions

File tree

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

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,7 +2075,7 @@ enum CheckConclusionState {
20752075
"""
20762076
A check run.
20772077
"""
2078-
type CheckRun implements Node & UniformResourceLocatable {
2078+
type CheckRun implements Node & RequirableByPullRequest & UniformResourceLocatable {
20792079
"""
20802080
The check run's annotations
20812081
"""
@@ -2133,13 +2133,18 @@ type CheckRun implements Node & UniformResourceLocatable {
21332133
id: ID!
21342134

21352135
"""
2136-
Whether this check run is required to pass before merging.
2136+
Whether this is required to pass before merging for a specific pull request.
21372137
"""
21382138
isRequired(
21392139
"""
2140-
The pull request this check is required for
2140+
The id of the pull request this is required for
21412141
"""
2142-
pullRequestId: ID!
2142+
pullRequestId: ID
2143+
2144+
"""
2145+
The number of the pull request this is required for
2146+
"""
2147+
pullRequestNumber: Int
21432148
): Boolean!
21442149

21452150
"""
@@ -22303,6 +22308,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
2230322308
"""
2230422309
viewerDidAuthor: Boolean!
2230522310

22311+
"""
22312+
The latest review given from the viewer.
22313+
"""
22314+
viewerLatestReview: PullRequestReview
22315+
22316+
"""
22317+
The person who has requested the viewer for review on this pull request.
22318+
"""
22319+
viewerLatestReviewRequest: ReviewRequest
22320+
2230622321
"""
2230722322
The merge body text for the viewer and method.
2230822323
"""
@@ -30363,6 +30378,26 @@ Types that can be requested reviewers.
3036330378
"""
3036430379
union RequestedReviewer = Mannequin | Team | User
3036530380

30381+
"""
30382+
Represents a type that can be required by a pull request for merging.
30383+
"""
30384+
interface RequirableByPullRequest {
30385+
"""
30386+
Whether this is required to pass before merging for a specific pull request.
30387+
"""
30388+
isRequired(
30389+
"""
30390+
The id of the pull request this is required for
30391+
"""
30392+
pullRequestId: ID
30393+
30394+
"""
30395+
The number of the pull request this is required for
30396+
"""
30397+
pullRequestNumber: Int
30398+
): Boolean!
30399+
}
30400+
3036630401
"""
3036730402
Autogenerated input type of RerequestCheckSuite
3036830403
"""
@@ -31852,7 +31887,7 @@ type StatusCheckRollupContextEdge {
3185231887
"""
3185331888
Represents an individual commit status context
3185431889
"""
31855-
type StatusContext implements Node {
31890+
type StatusContext implements Node & RequirableByPullRequest {
3185631891
"""
3185731892
The avatar of the OAuth application or the user that created the status
3185831893
"""
@@ -31890,13 +31925,18 @@ type StatusContext implements Node {
3189031925
id: ID!
3189131926

3189231927
"""
31893-
Whether this status is required to pass before merging.
31928+
Whether this is required to pass before merging for a specific pull request.
3189431929
"""
3189531930
isRequired(
3189631931
"""
31897-
The pull request this status is required for
31932+
The id of the pull request this is required for
31933+
"""
31934+
pullRequestId: ID
31935+
31936+
"""
31937+
The number of the pull request this is required for
3189831938
"""
31899-
pullRequestId: ID!
31939+
pullRequestNumber: Int
3190031940
): Boolean!
3190131941

3190231942
"""

data/graphql/schema.docs.graphql

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,7 @@ enum CheckConclusionState {
21652165
"""
21662166
A check run.
21672167
"""
2168-
type CheckRun implements Node & UniformResourceLocatable {
2168+
type CheckRun implements Node & RequirableByPullRequest & UniformResourceLocatable {
21692169
"""
21702170
The check run's annotations
21712171
"""
@@ -2223,13 +2223,18 @@ type CheckRun implements Node & UniformResourceLocatable {
22232223
id: ID!
22242224

22252225
"""
2226-
Whether this check run is required to pass before merging.
2226+
Whether this is required to pass before merging for a specific pull request.
22272227
"""
22282228
isRequired(
22292229
"""
2230-
The pull request this check is required for
2230+
The id of the pull request this is required for
22312231
"""
2232-
pullRequestId: ID!
2232+
pullRequestId: ID
2233+
2234+
"""
2235+
The number of the pull request this is required for
2236+
"""
2237+
pullRequestNumber: Int
22332238
): Boolean!
22342239

22352240
"""
@@ -24057,6 +24062,16 @@ type PullRequest implements Assignable & Closable & Comment & Labelable & Lockab
2405724062
"""
2405824063
viewerDidAuthor: Boolean!
2405924064

24065+
"""
24066+
The latest review given from the viewer.
24067+
"""
24068+
viewerLatestReview: PullRequestReview
24069+
24070+
"""
24071+
The person who has requested the viewer for review on this pull request.
24072+
"""
24073+
viewerLatestReviewRequest: ReviewRequest
24074+
2406024075
"""
2406124076
The merge body text for the viewer and method.
2406224077
"""
@@ -32622,6 +32637,26 @@ Types that can be requested reviewers.
3262232637
"""
3262332638
union RequestedReviewer = Mannequin | Team | User
3262432639

32640+
"""
32641+
Represents a type that can be required by a pull request for merging.
32642+
"""
32643+
interface RequirableByPullRequest {
32644+
"""
32645+
Whether this is required to pass before merging for a specific pull request.
32646+
"""
32647+
isRequired(
32648+
"""
32649+
The id of the pull request this is required for
32650+
"""
32651+
pullRequestId: ID
32652+
32653+
"""
32654+
The number of the pull request this is required for
32655+
"""
32656+
pullRequestNumber: Int
32657+
): Boolean!
32658+
}
32659+
3262532660
"""
3262632661
Autogenerated input type of RerequestCheckSuite
3262732662
"""
@@ -34785,7 +34820,7 @@ type StatusCheckRollupContextEdge {
3478534820
"""
3478634821
Represents an individual commit status context
3478734822
"""
34788-
type StatusContext implements Node {
34823+
type StatusContext implements Node & RequirableByPullRequest {
3478934824
"""
3479034825
The avatar of the OAuth application or the user that created the status
3479134826
"""
@@ -34823,13 +34858,18 @@ type StatusContext implements Node {
3482334858
id: ID!
3482434859

3482534860
"""
34826-
Whether this status is required to pass before merging.
34861+
Whether this is required to pass before merging for a specific pull request.
3482734862
"""
3482834863
isRequired(
3482934864
"""
34830-
The pull request this status is required for
34865+
The id of the pull request this is required for
34866+
"""
34867+
pullRequestId: ID
34868+
34869+
"""
34870+
The number of the pull request this is required for
3483134871
"""
34832-
pullRequestId: ID!
34872+
pullRequestNumber: Int
3483334873
): Boolean!
3483434874

3483534875
"""

lib/graphql/static/changelog.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"Type `RequirableByPullRequest` was added",
8+
"Field `viewerLatestReview` was added to object type `PullRequest`",
9+
"Field `viewerLatestReviewRequest` was added to object type `PullRequest`",
10+
"`CheckRun` object implements `RequirableByPullRequest` interface",
11+
"Type for argument `pullRequestId` on field `CheckRun.isRequired` changed from `ID!` to `ID`",
12+
"Argument `pullRequestNumber: Int` added to field `CheckRun.isRequired`",
13+
"`StatusContext` object implements `RequirableByPullRequest` interface",
14+
"Type for argument `pullRequestId` on field `StatusContext.isRequired` changed from `ID!` to `ID`",
15+
"Argument `pullRequestNumber: Int` added to field `StatusContext.isRequired`"
16+
]
17+
}
18+
],
19+
"previewChanges": [],
20+
"upcomingChanges": [],
21+
"date": "2021-03-21"
22+
},
223
{
324
"schemaChanges": [
425
{

lib/graphql/static/prerendered-objects.json

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

0 commit comments

Comments
 (0)