Questions tagged [merge-request]

114 questions
0
votes
0 answers

With gitlab, can you mark-as-viewed at the hunk/patch level instead of at the file level?

With gitlab, when reviewing a MR, you can set a file as viewed. This way, it does not show up in the Changes tab, until a new change appears in that file. However, it applies at the file level. That is to say, if you have reviewed 3 independant…
Julien REINAULD
  • 599
  • 2
  • 5
  • 18
0
votes
1 answer

GitLab Secrets Detection - Pipeline doesn't fail - Only checks last commit

In order to implement secrets detector via pipeline on merge requests in my GitLab repository, I followed this document from GitLab here: "Enable Secret Detection | Edit the .gitlab.ci.yml file manually" But the pipeline doesn't fail if any secrets…
Abdullah Khawer
  • 4,461
  • 4
  • 29
  • 66
0
votes
0 answers

How do I remove myself as MR participant in Gitlab? (NOT notifications toggle)

My project frequently demotes MRs back to Draft when the dev needs to do substantial work before further review. I get removed as a reviewer but not as a participant and so I still get notifications/emails for every little thing that happens to the…
Scott Bishop
  • 191
  • 5
0
votes
0 answers

Simulate Merge Request in Postman

I have set up a Jenkins pipeline which runs in the event a merge request is made to my gitlab repo. How can I use Postman to simulate the merge request to essentially see that in the event a merge request is made, the pipeline will execute as it…
ddd
  • 17
  • 4
0
votes
0 answers

Postman API Merge Request Testing

Given that I have a project which is composed of a Jenkinsfile which automates the build of a docker image. I am trying to check that in the event a merge request is made for my project, this pipeline is triggered and builds the image. I am new to…
ddd
  • 17
  • 4
0
votes
1 answer

How do I fix/undo/revert my git project when I've mistakenly clicked the "Create merge request" to edit an issue?

After editing an issue, I clicked the Create merge request button, instead of the Save changes button. And I found something shown up in the "Merge requests" panel. I am not a git expert and I only use its basic features to track some very simple…
AGamePlayer
  • 7,404
  • 19
  • 62
  • 119
0
votes
0 answers

Visual Studio Branch not Synchronizing to latest even after Synchronization

Git Synchronization not working. When Creating a branch and creating a merge request for that branch. It shows how behind i am from the master branch. When I grab latest on my master branch and then synchronize my branch to the master branch. It…
0
votes
0 answers

Recent Pushed Commit info on Files and Merge/Pull Request in Gitlab and Github

I see an info message on the Files and Merge Request that I made recently pushed commits with an option to create a merge request with the main branch. I'm just curious how it helps other developers who create merge requests with protected branches…
0
votes
1 answer

MR squash is removing commit message details

I was working in a branch and my commit had a very detailed message. The format was: Title Details (multiple lines). I created an MR but when the MR was merged I can see the merge commit and my new commit with only the Title. The details are…
Jim
  • 3,845
  • 3
  • 22
  • 47
0
votes
0 answers

Run dev deploy job when merge request to dev and prod deploy job when merge request to prod

I am very much new to GitHub, I have been using GitLab so far for deployments. I have a GitHub actions pipeline, github_pip.yml which has pipeline code. Now when I am merging request to develop branch it's not running any jobs for both develop and…
user18148705
  • 215
  • 1
  • 11
0
votes
1 answer

How to create an alert system for all new/un-merged merge requests to report in a single groups/mail/slack channel?

As we usually work on multiple repositories , we list the pending merge-requests for a single repository(current repo) in github/gitlab UI. Is there a way to configure a system , where all pending merge requests for a given number of repositories…
0
votes
1 answer

How to detect what type of change triggered a Jenkins project when started by Gitlab integration

I am trying to configure Jenkins integration in GitLab, as it is recommended in favor of webhooks. On the input form ([Gitlab project url]/-/integrations/jenkins/edit), I can check: Merge request, which has this note: Trigger event when a merge…
R. Schreurs
  • 8,587
  • 5
  • 43
  • 62
0
votes
2 answers

Merge request from different branches, do I need to merge master to them too?

using gitlab, I have multiple developing branches. An example: dev A working on branch deva dev B working on branch devb Both of them ask for a merge request. So for example deva will be merged on master. But now in devb there are not the last…
Danilo
  • 199
  • 1
  • 2
  • 12
0
votes
1 answer

Can we create different Merge requests with same feature branch in Gitlab?

How can we create different Merge requests with same branch? I'm working as example with the branch feature/task1. I commited those changes and created one Merge Request. Now I want to use the same feature branch but I want to create a new Merge…
Deepak
  • 47
  • 8
0
votes
0 answers

Comments from main thread missing on api call to MR discussions

I'm using the documented endpoint to get all discussions items from a Merge Request GET /projects/:id/merge_requests/:merge_request_iid/discussions docs here However, in the response, I only get the comments made on the code. For what I can see in a…
Roberto Morávia
  • 492
  • 1
  • 6
  • 13