Checking pipeline Status keeps turning

Problem to solve

Hello, I can’t merge the main branch to prod when I activate pipelines must succeed even though I don’t have any pipelines. The button “Checking pipeline status” keeps turning.

I’ve written a CICD pipeline which is only triggered when a Merge Request is made from a dev branch to main. Until now, I had no problem pushing my main branch to prod. Since I enabled the “Pipelines must succeed” feature in Merge Checks, I’ve got a button that loops without stopping. This makes it impossible for me to validate the pipeline.

Steps to reproduce

The only way that works is to remove Pipelines must succeed (bearing in mind that I don’t have any that trigger when I remove it).

Configuration

  rules:
    - if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_MESSAGE !~ /^prod123456/

(The commit message is not prod123456 when someone push into prod)

I am currently on the latest version of gitlab. Thank you for your help.