diff --git a/models/bots/run_job.go b/models/bots/run_job.go index 115bdb1a96..af5271d219 100644 --- a/models/bots/run_job.go +++ b/models/bots/run_job.go @@ -167,7 +167,7 @@ func aggregateJobStatus(jobs []*RunJob) Status { if job.Status != StatusWaiting { allWaiting = false } - if job.Status == StatusFailure { + if job.Status == StatusFailure || job.Status == StatusCancelled { hasFailure = true } }