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

Function IsFailureState

pkg/cmd/run/shared/shared.go:318–325  ·  view source on GitHub ↗
(c Conclusion)

Source from the content-addressed store, hash-verified

316}
317
318func IsFailureState(c Conclusion) bool {
319 switch c {
320 case ActionRequired, Failure, StartupFailure, TimedOut:
321 return true
322 default:
323 return false
324 }
325}
326
327func IsSkipped(c Conclusion) bool {
328 return c == Skipped

Callers 4

populateLogSegmentsFunction · 0.92
runViewFunction · 0.92
RenderJobsFunction · 0.85
RenderJobsCompactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected