marge-bot icon indicating copy to clipboard operation
marge-bot copied to clipboard

Feature request: Add MR priority support

Open t0ny-peng opened this issue 7 years ago • 3 comments

Suppose I have 5 MRs assigned to marge-bot, it'll by default pick the oldest one. However, if one is urgent and should be merged before others, currently there's no way to specify the sequence.

I would suggest such change:
After getting all MR lists, check if any of them has label merge_first. If so, merge it first. Otherwise, merge the oldest one.

t0ny-peng avatar Nov 30 '18 21:11 t0ny-peng

It could be an idea to allow the configuration of arbitrary labels, perhaps with the priority being set based on the order in which they are specified?

benjamb avatar Feb 11 '19 15:02 benjamb

I would agree with @benjamb. I also think it should be optional, as there may be situations where we don't want this behaviour, as it could be easily abused by someone to always take priority over others.

JaimeLennox avatar Mar 09 '19 11:03 JaimeLennox

Priority merge requests also tend to be excluded from batches. Does marge-bot support individually suppressing batching for a specific merge request?

vi avatar Nov 12 '20 00:11 vi