Questions tagged [merge-request]
114 questions
1
vote
0 answers
Why am I not able to accept merge request in GitLab?
I create a merge request for an other user, which I also control in GitLab. Unfortunatelly no ACCEPT button appear on Merge Request page for the other user. Other user is also Maintainer. I see many progress bar running. Why? I cheked Merge Request…

János
- 32,867
- 38
- 193
- 353
1
vote
1 answer
auto-selection default branch when Merge Request
I would like to know if in Gitlab, it's possible to create rule when we push a merge request.
For example, for source branch : HF-458, I want that target branch was auto-selected on : hot_fixe_rct when I push my merge request.
Thanks,

MasterSinge
- 665
- 3
- 9
- 22
0
votes
1 answer
gitlab CICD pipeline(Sonarqube) trigger only for Merge Requests
Below CICD code automatically triggers when we push the code into "cicd-setup" branch. Here both "build-stage" and "sonar-stage" both automatically trigger when we PUSH the code into "cicd-setup" branch every time.
I don't want to trigger…

user18665270
- 39
- 6
0
votes
1 answer
How to create a merge request for forked repo into main repo via Gitlab REST Api
What I try to accomplish to merge changes of forked repo into main repo. Both repo’s master branch are protected. I can accomplish it via Gitlab web pages. But unfortunately, Gitlab rest api for merge request does not have source_project_id…

Gursel Koca
- 20,940
- 2
- 24
- 34
0
votes
0 answers
TeamCity trigger build with many VCS roots on merge request but with merge request code coming only from one repo
I'm using TeamCity 2019.2 with Gitlab and I have set up already a build which can be triggered whenever there is a merge request created.
So my build uses 4 vcs roots and I've found when there is an issue when merge request with same number exists…

Adam Kiryluk
- 13
- 2
0
votes
3 answers
How to auto approve renovate merge requests in gitlab?
We use RenovateBot to update our dependencies in GitLab. To avoid that every request have to be approved by a specific amount of persons, I want to auto approve all MRs of renovate.
In the documentation I found autoApprove, but that seems to be just…

JuliusH4
- 11
- 3
0
votes
1 answer
Review only a part of a merge request in Gitlab
In merge request page Gitlab offers a tab "Changes" that show the sum of all the differences made in all the commits.
This is useful for final review instead of checking single commits that may revert or touch same lines of code.
I wonder if it is…

LeonFibuck
- 336
- 2
- 12
0
votes
0 answers
GitLab merge request blocked with pipeline must succeed, but no pipeline is set up
New to GitLab.
I’m trying to merge a branch into a dev branch in a repo, however, the MR is blocked with the following message. However, this repo does not have a pipeline set up (screenshot). Plus, all my MR has been ok until this point. I don’t…
0
votes
0 answers
GitLab rejection flow or feature for code review
I'm wondering if it's possible to reject a Merge Request in GitLab the same way that you can approve it. What is the proper procedure for handling rejections at code review?
I have searched multiple sources and conducted some testing, but I am…

Alex Raţiu
- 107
- 1
- 12
0
votes
0 answers
Sonarqube comment on MR Gitlab
I'm trying to integrate Sonarqube's comment into GitLab's MR. But Unable to find a concrete document to do so. Attached is the reference on localhost
I tried multiple methods to pick merge_requests in GitLab-ci.yml but not working.

nattvasan
- 1
- 1
0
votes
0 answers
How to push merge request properly to gitlab from terminal
My local branch already pushed to origin and set upstream (or not, tried both cases)
Next i run the next command in my project connected to gitlab:
git push (also added here "origin $branch" sometimes) -o merge_request.create \
-o…

Gadzhiev Islam
- 65
- 7
0
votes
0 answers
Is there any way to check the merge request status in git lab through jenkins declarative pipeline and trigger next stage through CI
Through jenkins declarative pipeline I am checking out a new repository and creating a merge request to target branch.
1 .I would like pito automate the peline to wait till the merge request is been accepted by someone.
2. And go to next stage and…

kumar
- 1
0
votes
0 answers
Gitlab merge doesn't see difference between 2 branches
Sometimes when I want to merge branch "foo" which has around 40 files modified to "production", Gitlab doesn't show me even one difference.
=> On local, I did a git fetch and on "production" branch did a git diff foo --name-only that show me all the…

Jonathan V.
- 11
- 1
0
votes
0 answers
Merge requests can be merged during a deploy freeze if it has a passed pipeline from before the freeze
I am having a problem where an MR can still be merged during freeze period if it has a passing pipeline from before the freeze.
I have set up my .gitlab-ci.yml like below:
code-freeze-check:
stage: test
script:
- echo "No merge…

Seong Kim
- 1
- 1
0
votes
0 answers
How to trigger a pipeline once the code is meged and approved in gitlab?
How do we trigger a pipeline in gitlab once the PR is merged and approved.
Below is my code:
contactcreate-tst2-19:
stage: deploy
script:
- 'curl --request POST --form token= --form ref=19.0 --form variables[ENVIRONMENT]=TST2…

Shreyas Murali
- 329
- 1
- 2
- 17