From c0e333eaa2eefaaf86a0d170527f96420b9eda7b Mon Sep 17 00:00:00 2001 From: badhezi Date: Wed, 8 Oct 2025 11:55:22 +0300 Subject: [PATCH] Revert "skip email notification trigger when run is not in final state" This reverts commit 4e10abdb91a602fa0fa79d330b5c6588fa72aff2. --- services/mailer/mail_workflow_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/mailer/mail_workflow_run.go b/services/mailer/mail_workflow_run.go index ed84e621ea..3789102812 100644 --- a/services/mailer/mail_workflow_run.go +++ b/services/mailer/mail_workflow_run.go @@ -153,7 +153,7 @@ func MailActionsTrigger(ctx context.Context, sender *user_model.User, repo *repo if setting.MailService == nil { return nil } - if !run.Status.IsDone() || run.Status.IsSkipped() || (run.Started == 0 && run.Stopped == 0) { + if !run.Status.IsDone() || run.Status.IsSkipped() { return nil }