Merge Request is marked as Draft when 'draft' or 'wip word is used at the end of the title
Summary
According to Draft merge requests:
Add draft:, Draft:, fixup!, or Fixup! to the beginning of a commit message targeting the merge request’s source branch.
This is not true: putting 'draft' / 'wip' at the end of the MR title will mark the MR as work in progress.
Steps to reproduce
- Go to Merge Requests, click 'new'
- Select branches, compare, edit title before creating and set it to
ISSUE-123 Implement adding draft
- Create Merge Request
Example Project
What is the current bug behavior?
GitLab automatically marks this issue as a draft
What is the expected correct behavior?
MR is ready to be immediately merged, without 'draft' marker
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com.
First reproduced on locally installed GitLab Community Edition 13.8.1.
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)