Revert "skip email notification trigger when run is not in final state"

This reverts commit 4e10abdb91.
This commit is contained in:
badhezi
2025-10-08 11:55:22 +03:00
parent dcaeb90b37
commit c0e333eaa2
+1 -1
View File
@@ -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
}