]> source.dussan.org Git - gitea.git/commit
Fix wrong workflow status when rerun a job in an already finished workflow (#26119...
authorGiteabot <teabot@gitea.io>
Tue, 25 Jul 2023 10:22:58 +0000 (06:22 -0400)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2023 10:22:58 +0000 (12:22 +0200)
commit08cdc0da3d6a649892a3687635640d02e3cd9fcf
treee6239d4b93df1e18537920e27df6ab18fd4b00e2
parent3e07c54be3988d0d422108711104200bf487c16a
Fix wrong workflow status when rerun a job in an already finished workflow (#26119) (#26124)

Backport #26119 by @yp05327

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.

Co-authored-by: yp05327 <576951401@qq.com>
models/actions/run_job.go