Skip to content

Commit 985e641

Browse files
committed
update
1 parent fed3ade commit 985e641

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/mailer/mail_workflow_run.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,7 @@ func SendActionsWorkflowRunStatusEmail(ctx context.Context, sender *user_model.U
166166
}
167167
}
168168

169-
sendActionsWorkflowRunStatusEmail(ctx, repo, run, sender, recipients)
169+
if len(recipients) > 0 {
170+
sendActionsWorkflowRunStatusEmail(ctx, repo, run, sender, recipients)
171+
}
170172
}

0 commit comments

Comments
 (0)