fix: pass gitlab mergerequest param via json body
When opening a merge request on GitLab, the current implementation pass all the parameters via the URL parameters instead of using the HTTP body. The problem is that the amount of information that can be provided via URL parameter is very limited, which lead to not being able to create a merge request.
Test
On top of the unit test, I tested this change on a different project:
Screenshot
Additional Information
Potential improvement
I also noticed that function CreateComment use URL parameter and I think it could also be improved but I am not using that function on my project
@abhinav-harness could you take a look at this pull request, as it fix a bug with the GitLab merge request creation
@abhinav-harness Would it be possible to have this pullrequest available in a futur release?
@olblak released https://github.com/drone/go-scm/releases/tag/v1.39.0