We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c87dd55 commit 1ae2a39Copy full SHA for 1ae2a39
services/mailer/mail_issue.go
@@ -69,7 +69,7 @@ func mailIssueCommentToParticipants(ctx *mailCommentContext, mentions []int64) e
69
70
// =========== Repo watchers ===========
71
// Make repo watchers last, since it's likely the list with the most users
72
- if !(ctx.Issue.IsPull && ctx.Issue.PullRequest.IsWorkInProgress()) {
+ if !(ctx.Issue.IsPull && ctx.Issue.PullRequest.IsWorkInProgress() && ctx.ActionType != models.ActionCreatePullRequest) {
73
ids, err = models.GetRepoWatchersIDs(ctx.Issue.RepoID)
74
if err != nil {
75
return fmt.Errorf("GetRepoWatchersIDs(%d): %v", ctx.Issue.RepoID, err)
0 commit comments