MCPcopy Create free account
hub / github.com/cli/cli / CheckContext

Struct CheckContext

api/queries_pr.go:219–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219type CheckContext struct {
220 TypeName string `json:"__typename"`
221 Name string `json:"name"`
222 IsRequired bool `json:"isRequired"`
223 CheckSuite CheckSuite `json:"checkSuite"`
224 // QUEUED IN_PROGRESS COMPLETED WAITING PENDING REQUESTED
225 Status string `json:"status"`
226 // ACTION_REQUIRED TIMED_OUT CANCELLED FAILURE SUCCESS NEUTRAL SKIPPED STARTUP_FAILURE STALE
227 Conclusion CheckConclusionState `json:"conclusion"`
228 StartedAt time.Time `json:"startedAt"`
229 CompletedAt time.Time `json:"completedAt"`
230 DetailsURL string `json:"detailsUrl"`
231
232 /* StatusContext fields */
233 Context string `json:"context"`
234 Description string `json:"description"`
235 // EXPECTED ERROR FAILURE PENDING SUCCESS
236 State StatusState `json:"state"`
237 TargetURL string `json:"targetUrl"`
238 CreatedAt time.Time `json:"createdAt"`
239}
240
241type CheckSuite struct {
242 WorkflowRun WorkflowRun `json:"workflowRun"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected