Skip to content

Commit b6321bb

Browse files
authored
GraphQL schema update
2 parents 73b2f64 + 83330b2 commit b6321bb

6 files changed

Lines changed: 68 additions & 2 deletions

File tree

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24946,6 +24946,11 @@ type RefUpdateRule {
2494624946
"""
2494724947
requiredStatusCheckContexts: [String]
2494824948

24949+
"""
24950+
Are reviews from code owners required to update matching branches.
24951+
"""
24952+
requiresCodeOwnerReviews: Boolean!
24953+
2494924954
"""
2495024955
Are merge commits prohibited from being pushed to this branch.
2495124956
"""
@@ -24956,6 +24961,11 @@ type RefUpdateRule {
2495624961
"""
2495724962
requiresSignatures: Boolean!
2495824963

24964+
"""
24965+
Is the viewer allowed to dismiss reviews.
24966+
"""
24967+
viewerAllowedToDismissReviews: Boolean!
24968+
2495924969
"""
2496024970
Can the viewer push to the branch
2496124971
"""

data/graphql/schema.docs.graphql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26875,6 +26875,11 @@ type RefUpdateRule {
2687526875
"""
2687626876
requiredStatusCheckContexts: [String]
2687726877

26878+
"""
26879+
Are reviews from code owners required to update matching branches.
26880+
"""
26881+
requiresCodeOwnerReviews: Boolean!
26882+
2687826883
"""
2687926884
Are merge commits prohibited from being pushed to this branch.
2688026885
"""
@@ -26885,6 +26890,11 @@ type RefUpdateRule {
2688526890
"""
2688626891
requiresSignatures: Boolean!
2688726892

26893+
"""
26894+
Is the viewer allowed to dismiss reviews.
26895+
"""
26896+
viewerAllowedToDismissReviews: Boolean!
26897+
2688826898
"""
2688926899
Can the viewer push to the branch
2689026900
"""

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 `requiresCodeOwnerReviews` was added to object type `RefUpdateRule`",
8+
"Field `viewerAllowedToDismissReviews` was added to object type `RefUpdateRule`"
9+
]
10+
}
11+
],
12+
"previewChanges": [],
13+
"upcomingChanges": [],
14+
"date": "2021-03-19"
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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38492,6 +38492,14 @@
3849238492
"kind": "scalars",
3849338493
"href": "/graphql/reference/scalars#string"
3849438494
},
38495+
{
38496+
"name": "requiresCodeOwnerReviews",
38497+
"description": "<p>Are reviews from code owners required to update matching branches.</p>",
38498+
"type": "Boolean!",
38499+
"id": "boolean",
38500+
"kind": "scalars",
38501+
"href": "/graphql/reference/scalars#boolean"
38502+
},
3849538503
{
3849638504
"name": "requiresLinearHistory",
3849738505
"description": "<p>Are merge commits prohibited from being pushed to this branch.</p>",
@@ -38508,6 +38516,14 @@
3850838516
"kind": "scalars",
3850938517
"href": "/graphql/reference/scalars#boolean"
3851038518
},
38519+
{
38520+
"name": "viewerAllowedToDismissReviews",
38521+
"description": "<p>Is the viewer allowed to dismiss reviews.</p>",
38522+
"type": "Boolean!",
38523+
"id": "boolean",
38524+
"kind": "scalars",
38525+
"href": "/graphql/reference/scalars#boolean"
38526+
},
3851138527
{
3851238528
"name": "viewerCanPush",
3851338529
"description": "<p>Can the viewer push to the branch.</p>",

lib/graphql/static/schema-ghae.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35590,6 +35590,14 @@
3559035590
"kind": "scalars",
3559135591
"href": "/graphql/reference/scalars#string"
3559235592
},
35593+
{
35594+
"name": "requiresCodeOwnerReviews",
35595+
"description": "<p>Are reviews from code owners required to update matching branches.</p>",
35596+
"type": "Boolean!",
35597+
"id": "boolean",
35598+
"kind": "scalars",
35599+
"href": "/graphql/reference/scalars#boolean"
35600+
},
3559335601
{
3559435602
"name": "requiresLinearHistory",
3559535603
"description": "<p>Are merge commits prohibited from being pushed to this branch.</p>",
@@ -35606,6 +35614,14 @@
3560635614
"kind": "scalars",
3560735615
"href": "/graphql/reference/scalars#boolean"
3560835616
},
35617+
{
35618+
"name": "viewerAllowedToDismissReviews",
35619+
"description": "<p>Is the viewer allowed to dismiss reviews.</p>",
35620+
"type": "Boolean!",
35621+
"id": "boolean",
35622+
"kind": "scalars",
35623+
"href": "/graphql/reference/scalars#boolean"
35624+
},
3560935625
{
3561035626
"name": "viewerCanPush",
3561135627
"description": "<p>Can the viewer push to the branch.</p>",

0 commit comments

Comments
 (0)