(org bool)
| 92 | } |
| 93 | |
| 94 | func rulesetsQuery(org bool) string { |
| 95 | if org { |
| 96 | return orgGraphQLHeader + sharedGraphQLBody |
| 97 | } else { |
| 98 | return repoGraphQLHeader + sharedGraphQLBody |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | const repoGraphQLHeader = ` |
| 103 | query RepoRulesetList($limit: Int!, $endCursor: String, $includeParents: Boolean, $owner: String!, $repo: String!) { |
no outgoing calls
no test coverage detected