Files
openide/plugins/github/resources/graphql/query/getProtectionRules.graphql
Dmitry Zhuravlev 325eab0afd [github] sync GitHub protected branch patterns after fetch (IDEA-191512)
GitOrigin-RevId: 1f33070c18c6e89e0730bb51016421021421cac1
2020-09-28 15:40:42 +00:00

14 lines
366 B
GraphQL

query($repoOwner: String!, $repoName: String!, $pageSize: Int = 100, $cursor: String) {
repository(owner: $repoOwner, name: $repoName) {
branchProtectionRules(first: $pageSize, after: $cursor) {
pageInfo {
...pageInfo
}
nodes {
...nodeInfo
pattern
}
}
}
}