You need to sign in or sign up before continuing.
Create MR for every new branch
If you're following a merge request flow, where you're expected to have a merge request for every topic branch, then it's silly for GitLab to allow you to create a branch and not enforce a corresponding merge request. Some folks have automated this using the API, but why not have this be a first-class option in GitLab?
Proposal
Add project configuration teams that want this behavior can enable it in for the project
Workflow
- Every time someone pushes a commit with to the project, check if the branch already has an open merge request and, if not, create one
- Merge request title should be
WIP: <short commit message>
- Merge request description should be
<long commit message>
if set else blank - Assign the merge request to the pusher
- Merge request title should be
- Send merge request URL with Git output
Links / references
Edited by James Ramsay (ex-GitLab)