We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763938e commit ae5363fCopy full SHA for ae5363f
routers/web/repo/actions/view.go
@@ -270,6 +270,12 @@ func Rerun(ctx *context_module.Context) {
270
ctx.Error(http.StatusInternalServerError, err.Error())
271
return
272
}
273
+ run.Started = 0
274
+ run.Stopped = 0
275
+ if err := actions_model.UpdateRun(ctx, run, "started", "stopped"); err != nil {
276
+ ctx.Error(http.StatusInternalServerError, err.Error())
277
+ return
278
+ }
279
280
// can not rerun job when workflow is disabled
281
cfgUnit := ctx.Repo.Repository.MustGetUnit(ctx, unit.TypeActions)
0 commit comments