@@ -33,7 +33,7 @@ import (
3333 "code.gitea.io/gitea/modules/web"
3434 actions_service "code.gitea.io/gitea/services/actions"
3535 context_module "code.gitea.io/gitea/services/context"
36- notifier "code.gitea.io/gitea/services/notify"
36+ notify_service "code.gitea.io/gitea/services/notify"
3737
3838 "github.com/nektos/act/pkg/model"
3939 "xorm.io/builder"
@@ -460,7 +460,7 @@ func rerunJob(ctx *context_module.Context, job *actions_model.ActionRunJob, shou
460460
461461 actions_service .CreateCommitStatus (ctx , job )
462462 _ = job .LoadAttributes (ctx )
463- notifier .WorkflowJobStatusUpdate (ctx , job .Run .Repo , job .Run .TriggerUser , job , nil )
463+ notify_service .WorkflowJobStatusUpdate (ctx , job .Run .Repo , job .Run .TriggerUser , job , nil )
464464
465465 return nil
466466}
@@ -559,7 +559,7 @@ func Cancel(ctx *context_module.Context) {
559559
560560 for _ , job := range updatedjobs {
561561 _ = job .LoadAttributes (ctx )
562- notifier .WorkflowJobStatusUpdate (ctx , job .Run .Repo , job .Run .TriggerUser , job , nil )
562+ notify_service .WorkflowJobStatusUpdate (ctx , job .Run .Repo , job .Run .TriggerUser , job , nil )
563563 }
564564
565565 ctx .JSON (http .StatusOK , struct {}{})
@@ -605,7 +605,7 @@ func Approve(ctx *context_module.Context) {
605605
606606 for _ , job := range updatedjobs {
607607 _ = job .LoadAttributes (ctx )
608- notifier .WorkflowJobStatusUpdate (ctx , job .Run .Repo , job .Run .TriggerUser , job , nil )
608+ notify_service .WorkflowJobStatusUpdate (ctx , job .Run .Repo , job .Run .TriggerUser , job , nil )
609609 }
610610
611611 ctx .JSON (http .StatusOK , struct {}{})
0 commit comments