smarkets / marge-bot

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

Cannot run multiple batch-enabled instances on separate target branches #267

Open valentindavid opened 4 years ago

valentindavid commented 4 years ago

In a project we use a marge bot instance per release branch so that we can run merges in parallel. However in that configuration, only one instance can do batches. This is because the branch name used for the batch is constant: marge_bot_batch_merge_job.

Instead it should be using a name that depends on the target branch. So for example for target branch release/20.08, it should use marge_bot_batch_merge_job/release/20.08.

However there is no way to configure the name of the batch branch.