Skip to content

Commit b7e1922

Browse files
committed
resolve conflicts
1 parent f0cd3dc commit b7e1922

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

routers/web/repo/actions/view.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -441,12 +441,6 @@ func Rerun(ctx *context_module.Context) {
441441
return
442442
}
443443

444-
if err := run.LoadAttributes(ctx); err != nil {
445-
ctx.ServerError("run.LoadAttributes", err)
446-
return
447-
}
448-
notify_service.WorkflowRunStatusUpdate(ctx, run.Repo, run.TriggerUser, run)
449-
450444
if run.RawConcurrency != "" {
451445
var rawConcurrency model.RawConcurrency
452446
if err := yaml.Unmarshal([]byte(run.RawConcurrency), &rawConcurrency); err != nil {
@@ -482,6 +476,12 @@ func Rerun(ctx *context_module.Context) {
482476
ctx.ServerError("UpdateRun", err)
483477
return
484478
}
479+
480+
if err := run.LoadAttributes(ctx); err != nil {
481+
ctx.ServerError("run.LoadAttributes", err)
482+
return
483+
}
484+
notify_service.WorkflowRunStatusUpdate(ctx, run.Repo, run.TriggerUser, run)
485485
}
486486

487487
if jobIndexStr == "" { // rerun all jobs

0 commit comments

Comments
 (0)