Andyally
Andyally

Reputation: 1069

Merge conflicts don't appear unless merge request is opened

In the GitLab "Merge requests" list, I can not see which items have merge conflicts unless I open merge request.
When merge request opened then icon of merge conflict appears in merge request list near that merge request that was opened.

Is there are way automatically update merge requests state?

Because it is really annoying when you can not see that merge request could no longer be merged unless you go through the list opening each merge request from time to time just to trigger merge conflict check.

Upvotes: 1

Views: 448

Answers (1)

VonC
VonC

Reputation: 1323973

You can try and setup a Merge Request pipeline which can run anytime you create or update a merge request.

That pipeline could make an GET /merge_requests API call, with with_merge_status_recheck parameter to true, in order to force the MR status to be refreshed.

Upvotes: 1

Related Questions