mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Backport #26119 by @yp05327 Before:  After:  After workflow finished, if you rerun a single job, the workflow status will become to `Running` which is not correct as no jobs are running in this workflow. Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
		@@ -143,7 +143,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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user