Gitlab MR status pending if there is a merge conflict

Summary

If there is a merge conflict on an opened Merge Request NOT marked as WIP, the external webhook is triggered and the status got stuck in a pending status.

Steps to reproduce

Push on an opened Merge Request NOT marked as WIP

What is the current bug behavior?

A job on jenkins it has been triggered, this job fails and the MR pipeline status is set as pending(orange icon)

What is the expected correct behavior?

I would expect that in case of a merge conflict in the merge request, the jenkins job is not triggered

Screenshot of the issue

example

Edited by 🤖 GitLab Bot 🤖