mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 23:09:32 +02:00
Fix workflow run event status while rerunning a failed job (#35689)
The event reported a completion status instead of requested, therefore sent an email
This commit is contained in:
1 parent
a7eceb57a9
commit
322cb048e7
2 files changed
+11
-1
No files matched your search
@@ -432,6 +432,7 @@ func Rerun(ctx *context_module.Context) {
|
||||
run.PreviousDuration = run.Duration()
|
||||
run.Started = 0
|
||||
run.Stopped = 0
|
||||
run.Status = actions_model.StatusWaiting
|
||||
|
||||
vars, err := actions_model.GetVariablesOfRun(ctx, run)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user