Make Dangerbot add approval groups to MRs based on heuristic rules
Problem to solve
Sometimes we merge MRs that haven't gotten the proper approvals.
By following a few rules, we can come up with scenarios where confidence on setting Blocking Approval Groups is high enough.
Please discuss below rules to require approvals from which groups:
More on Merge Request Approvals.
Danger bot checks a set of rules and applies corresponding groups requiring at least 1x approval from each.
It might happen that the wrong approval groups are set initially, so we can maybe start with a simple suggestion in the comment.
What does success look like, and how can we measure that?
The decrease in number of times MRs are inadvertently merged missing one or more required approvals.