class Pronto::Github

def publish_pull_request_comments(comments)

def publish_pull_request_comments(comments)
  comments_left = comments.clone
  while comments_left.any?
    comments_to_publish = comments_left.slice!(0, warnings_per_review)
    create_pull_request_review(comments_to_publish)
  end
end