MCPcopy Index your code
hub / github.com/cli/cli / singleStatusContextWithState

Function singleStatusContextWithState

api/pull_request_test.go:381–396  ·  view source on GitHub ↗
(state string)

Source from the content-addressed store, hash-verified

379}
380
381func 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
398func completedCheckRunNode(conclusion string) string {
399 return fmt.Sprintf(`

Calls

no outgoing calls

Tested by

no test coverage detected