0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-30 02:09:11 -05:00
forgejo/models/actions
Giteabot e2101ae572
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>
(cherry picked from commit 08cdc0da3d)
2023-07-26 13:49:15 +02:00
..
artifact.go
forgejo.go [CLI] implement forgejo-cli actions register 2023-07-16 23:21:45 +02:00
forgejo_test.go [CLI] implement forgejo-cli actions register 2023-07-16 23:21:45 +02:00
main_test.go [CLI] implement forgejo-cli actions register 2023-07-16 23:21:45 +02:00
run.go
run_job.go Fix wrong workflow status when rerun a job in an already finished workflow (#26119) (#26124) 2023-07-26 13:49:15 +02:00
run_job_list.go
run_list.go
runner.go
runner_list.go
runner_token.go
status.go
task.go
task_list.go
task_output.go
task_step.go
utils.go
utils_test.go