fix(backend-gitlab): skip creating a CI pipeline when rebasing merge request (#4802)

Fixes #4786; see further https://docs.gitlab.com/ee/api/merge_requests.html#rebase-a-merge-request
This commit is contained in:
Florian Kohrt 2021-01-05 11:35:48 +01:00 committed by GitHub
parent a92d53f889
commit ce11dd2375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -678,7 +678,7 @@ export default class API {
async rebaseMergeRequest(mergeRequest: GitLabMergeRequest) {
let rebase: GitLabMergeRebase = await this.requestJSON({
method: 'PUT',
url: `${this.repoURL}/merge_requests/${mergeRequest.iid}/rebase`,
url: `${this.repoURL}/merge_requests/${mergeRequest.iid}/rebase?skip_ci=true`,
});
let i = 1;