See merge request !X does not close a merge request
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
As the title states; if a commit message contains "See merge request !X" it will not close a merge request. Even though that is exactly what gilab produces - to close a merge request (successfully) one has to write "Closes !X" in the commit message.
Steps to reproduce
- create a merge request
- merge it locally / without the GitLab web UI
- copy the gitlab behaviour of writing "See merge request !X" in the commit message
- push the merge
What is the current bug behavior?
The merge request will stay open, complains about no changes to be merged (no auto merge) and has to be closed (unsuccessfully) to remove it.
What is the expected correct behavior?
The merge request is closed after the push
Output of checks
This bug happens on GitLab.com
Possible fixes
- Change the behaviour of the GitLab Web UI to also use "Closes !X"
- Add a possibility of closing merge request successfully
- Add "See merge request !X" to the phrases that close a merge request
Edited by 🤖 GitLab Bot 🤖