(state string)
| 379 | } |
| 380 | |
| 381 | func singleStatusContextWithState(state string) string { |
| 382 | return fmt.Sprintf(` |
| 383 | { "statusCheckRollup": { "nodes": [{ "commit": { |
| 384 | "statusCheckRollup": { |
| 385 | "contexts": { |
| 386 | "nodes": [ |
| 387 | { |
| 388 | "__typename": "StatusContext", |
| 389 | "state": "%s" |
| 390 | } |
| 391 | ] |
| 392 | } |
| 393 | } |
| 394 | } }] } } |
| 395 | `, state) |
| 396 | } |
| 397 | |
| 398 | func completedCheckRunNode(conclusion string) string { |
| 399 | return fmt.Sprintf(` |
no outgoing calls
no test coverage detected