Automatically retarget merge requests
Release notes
Today, user needs to manually retarget the MR B
onto master
once MR A
is merged.
GitLab can automate that.
Problem to solve
It is common to have a number of merge requests in a chain, when one depends on another. For example:
- Merge Request A: merge
feature-A
intomaster
- Merge Request B: merge
feature-B
intofeature-A
We can distinguish two workflows:
- the MR A is merged into
master
first, and then MR B is retargeted ontomaster
- the MR B is merged into
feature-A
branch, and then MR A is merged intomaster
Today, user needs to manually retarget the MR B
onto master
once MR A
is merged.
GitLab can automate that.
Intended users
User experience goal
The MRs are automatically retargeted making user to perform less actions manually, as otherwise user would do it anyway.
Proposal
The MRs that are targeting the currently merged MR are automatically retargeted.
Available Tier
- Free