smarkets / marge-bot

A merge-bot for GitLab
BSD 3-Clause "New" or "Revised" License
693 stars 136 forks source link

Use gitlab api to fetch assigned MRs #362

Closed gforcada closed 7 months ago

gforcada commented 1 year ago

As mentioned on #97 by @fooishbar here is a quick and rough implementation of using GitLab's /merge_request API ✨

This reduces the amount of API calls by orders of magnitude, and scales perfectly with the amount of projects the bot has to handle.

Is there any interest in having this? It needs further polish and handle the batch use case for example as well, that's why I'm marking it as a draft 😄