Warn if the source branch of a merge request is the target of open merge requests
Problem to solve
If the source branch of a merge request has pending merge requests, I probably want to wait for those to merge before merging the branch in it's current state.
Further details
Given this branch management process :
- team create a release-X branch
- each pair of dev create a feature-N branch
- each dev submit Merge Request to merge our work in release-X branch
When release manager submit the Merge Request from release-X to master branch
Then he would like to be warned that there are pending MRs from feature-N to release-X
Proposal
In the merge request interface, list any pending merge requests against the source branch.
Links / references
Edited by James Ramsay (ex-GitLab)