fix(run): add IsSkipped function
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
dbff7c5655
commit
2ce3279ebc
1 changed files with 4 additions and 0 deletions
|
|
@ -319,6 +319,10 @@ func IsFailureState(c Conclusion) bool {
|
|||
}
|
||||
}
|
||||
|
||||
func IsSkipped(c Conclusion) bool {
|
||||
return c == Skipped
|
||||
}
|
||||
|
||||
type RunsPayload struct {
|
||||
TotalCount int `json:"total_count"`
|
||||
WorkflowRuns []Run `json:"workflow_runs"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue