(org bool)
| 85 | } |
| 86 | |
| 87 | func rulesetsQuery(org bool) string { |
| 88 | if org { |
| 89 | return orgGraphQLHeader + sharedGraphQLBody |
| 90 | } else { |
| 91 | return repoGraphQLHeader + sharedGraphQLBody |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | const repoGraphQLHeader = ` |
| 96 | query RepoRulesetList($limit: Int!, $endCursor: String, $includeParents: Boolean, $owner: String!, $repo: String!) { |
no outgoing calls
no test coverage detected