From 2ce95d17a75a019e8b0ba4e778d1101f5a12cbdd Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Tue, 25 Jul 2023 06:39:49 +0000 Subject: [PATCH] fix --- models/actions/run_job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/actions/run_job.go b/models/actions/run_job.go index c7620cd8bca2f..0239cc0a85e73 100644 --- a/models/actions/run_job.go +++ b/models/actions/run_job.go @@ -150,7 +150,7 @@ func aggregateJobStatus(jobs []*ActionRunJob) Status { if !job.Status.IsDone() { allDone = false } - if job.Status != StatusWaiting { + if job.Status != StatusWaiting && !job.Status.IsDone() { allWaiting = false } if job.Status == StatusFailure || job.Status == StatusCancelled {