lib/gitlab_reviewbot/gitlab.rb in danger-gitlab_reviewbot-1.1.5 vs lib/gitlab_reviewbot/gitlab.rb in danger-gitlab_reviewbot-1.1.6
- old
+ new
@@ -39,10 +39,10 @@
res = merge_request(project_id, mr_iid)
User.new(res.author.id, res.author.name)
end
def fetch_mrs_requiring_review(project_id)
- merge_requests(project_id, state: "opened", per_page: "100").reject { |mr| mr.merge_status == "can_be_merged" }
+ merge_requests(project_id, state: "opened", per_page: "100")
end
def find_user_with_username(username)
users({ username: username }).map { |u| User.new(u.id, u.username) }
end