Fix workflow run event status while rerunning a failed job (#35689)
Some checks failed
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled

The event reported a completion status instead of requested, therefore
sent an email
This commit is contained in:
ChristopherHX
2025-10-18 05:31:34 +02:00
committed by GitHub
parent a7eceb57a9
commit 322cb048e7
2 changed files with 11 additions and 1 deletions

View File

@@ -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 {