MCPcopy
hub / github.com/cli/cli / IsFailureState

Function IsFailureState

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

Source from the content-addressed store, hash-verified

311}
312
313func IsFailureState(c Conclusion) bool {
314 switch c {
315 case ActionRequired, Failure, StartupFailure, TimedOut:
316 return true
317 default:
318 return false
319 }
320}
321
322func IsSkipped(c Conclusion) bool {
323 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