()
| 206 | `) |
| 207 | |
| 208 | func StatusCheckRollupGraphQLWithCountByState() string { |
| 209 | return shortenQuery(` |
| 210 | statusCheckRollup: commits(last: 1) { |
| 211 | nodes { |
| 212 | commit { |
| 213 | statusCheckRollup { |
| 214 | contexts { |
| 215 | checkRunCount, |
| 216 | checkRunCountsByState { |
| 217 | state, |
| 218 | count |
| 219 | }, |
| 220 | statusContextCount, |
| 221 | statusContextCountsByState { |
| 222 | state, |
| 223 | count |
| 224 | } |
| 225 | } |
| 226 | } |
| 227 | } |
| 228 | } |
| 229 | }`) |
| 230 | } |
| 231 | |
| 232 | func StatusCheckRollupGraphQLWithoutCountByState(after string) string { |
| 233 | var afterClause string |
no test coverage detected