Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01: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 Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
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 Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
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 Implement actions (#21937) 2023-01-31 09:45:19 +08:00
run_list.go Don't filter action runs based on state (#24711) 2023-05-14 16:04:24 +00:00
runner.go Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00
runner_list.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
runner_token.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
status.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
task.go Fix content holes in Actions task logs file (#25560) (#25566) 2023-06-28 23:39:23 +00:00
task_list.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_output.go Support upload outputs and use needs context on Actions (#24230) 2023-04-22 16:12:41 -04:00
task_step.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
utils.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
utils_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00