fix(run): add IsSkipped function

Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
Babak K. Shandiz 2025-07-16 14:17:15 +01:00
parent dbff7c5655
commit 2ce3279ebc
No known key found for this signature in database
GPG key ID: 9472CAEFF56C742E

View file

@ -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"`