]> source.dussan.org Git - gitea.git/commit
Fix wrong workflow status when rerun a job in an already finished workflow (#26119)
authoryp05327 <576951401@qq.com>
Tue, 25 Jul 2023 09:13:36 +0000 (18:13 +0900)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2023 09:13:36 +0000 (09:13 +0000)
commitd817b199cab8545a8ea218c5cd62dc7891119c89
treebc4f3bbafbab4a9ca2a84b89b66b5af1d0a3e3f7
parent6598d0291cf7dfeb00cb5e5d18faf2bf46fad596
Fix wrong workflow status when rerun a job in an already finished workflow (#26119)

Before:

![image](https://github.com/go-gitea/gitea/assets/18380374/fb687592-b117-4cd5-b076-2ca5ca847ea4)
After:

![image](https://github.com/go-gitea/gitea/assets/18380374/c9b0683e-e81d-410b-8c35-fbe54327fab4)

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.
models/actions/run_job.go