Commit 9be991df authored by Douwe Maan's avatar Douwe Maan Committed by Rémy Coutable

Merge branch 'fix-auto-mr-close' into 'master'

Fix auto-MR-close text from branch name

See merge request !4836
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 7ba628b0
Please view this file on the master branch, on stable branches it's out of date.
v 8.9.1 (unreleased)
- Fix MR-auto-close text added to description. !4836
v 8.9.0
- Fix builds API response not including commit data
......
......@@ -83,7 +83,7 @@ module MergeRequests
closes_issue = "Closes ##{iid}"
if merge_request.description.present?
merge_request.description << closes_issue.prepend("\n")
merge_request.description += closes_issue.prepend("\n")
else
merge_request.description = closes_issue
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment