diff --git a/services/pull/review.go b/services/pull/review.go index e4aae3c0d5885..294297f956dac 100644 --- a/services/pull/review.go +++ b/services/pull/review.go @@ -17,7 +17,9 @@ func CreateReview(opts models.CreateReviewOptions) (*models.Review, error) { return nil, err } - notification.NotifyPullRequestReview(review.Issue.PullRequest, review, nil) + if opts.Type != models.ReviewTypePending { + notification.NotifyPullRequestReview(review.Issue.PullRequest, review, nil) + } return review, nil }