git - Close GitLab CE Merge Requests From Commit Message -
a useful feature of github users able close "pull requests" (prs) via commit message. instance, if closes #1
written in commit message , commit subsequently lands on master
branch, github automatically close pr.
gitlab has similar setup, pull requests known "merge requests" (mrs). although have found support automatic-pr-closing feature in github, appears though gitlab devoid of useful feature. way close merge requests (that i've found) manually clicking "accept" or "close" buttons on gitlab itself.
this question illustrates feature in question.
and yes, i'm aware can close issues, stated here: http://docs.gitlab.com/ee/customization/issue_closing.html
but page says:
when commit or merge request resolves 1 or more issues, possible automatically have these issues closed when commit or merge request lands in project's default branch.
so issues closed if mr or commit lands in master
, doesn't speak closing of mrs if commit lands in master
.
i searched through gitlab-ce repo's issues , came empty handed. poorly documented feature, or gitlab ce not support this?
there issue gitlab ce addresses this, looks devs choosing ignore (the issue closed without public comment).
Comments
Post a Comment