Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 7a09b64

Browse files
committed
⬆️ GraphQL schema
1 parent 89edc63 commit 7a09b64

File tree

1 file changed

+12
-24
lines changed

1 file changed

+12
-24
lines changed

graphql/schema.graphql

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,12 @@ type Bot implements Node & Actor & UniformResourceLocatable {
731731

732732
"""A branch protection rule."""
733733
type BranchProtectionRule implements Node {
734+
"""Can this branch be deleted."""
735+
allowsDeletions: Boolean!
736+
737+
"""Are force pushes allowed on this branch."""
738+
allowsForcePushes: Boolean!
739+
734740
"""
735741
A list of conflicts matching branches protection rule and other branch protection rules
736742
"""
@@ -825,6 +831,9 @@ type BranchProtectionRule implements Node {
825831
"""Are commits required to be signed."""
826832
requiresCommitSignatures: Boolean!
827833

834+
"""Are merge commits prohibited from being pushed to this branch."""
835+
requiresLinearHistory: Boolean!
836+
828837
"""Are status checks required to update matching branches."""
829838
requiresStatusChecks: Boolean!
830839

@@ -18646,14 +18655,7 @@ type RepositoryCollaboratorEdge {
1864618655
cursor: String!
1864718656
node: User!
1864818657

18649-
"""
18650-
The permission the user has on the repository.
18651-
18652-
**Upcoming Change on 2020-10-01 UTC**
18653-
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
18654-
**Reason:** This field may return additional values
18655-
18656-
"""
18658+
"""The permission the user has on the repository."""
1865718659
permission: RepositoryPermission!
1865818660

1865918661
"""A list of sources for the user's access to the repository."""
@@ -18832,14 +18834,7 @@ type RepositoryInvitation implements Node {
1883218834
"""The permalink for this repository invitation."""
1883318835
permalink: URI!
1883418836

18835-
"""
18836-
The permission granted on this repository by this invitation.
18837-
18838-
**Upcoming Change on 2020-10-01 UTC**
18839-
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
18840-
**Reason:** This field may return additional values
18841-
18842-
"""
18837+
"""The permission granted on this repository by this invitation."""
1884318838
permission: RepositoryPermission!
1884418839

1884518840
"""The Repository the user is invited to."""
@@ -21927,14 +21922,7 @@ type TeamRepositoryEdge {
2192721922
cursor: String!
2192821923
node: Repository!
2192921924

21930-
"""
21931-
The permission level the team has on the repository
21932-
21933-
**Upcoming Change on 2020-10-01 UTC**
21934-
**Description:** Type for `permission` will change from `RepositoryPermission!` to `String`.
21935-
**Reason:** This field may return additional values
21936-
21937-
"""
21925+
"""The permission level the team has on the repository"""
2193821926
permission: RepositoryPermission!
2193921927
}
2194021928

0 commit comments

Comments
 (0)