Fix GitLab CI Duplicate Pipelines in Merge Requests when Using rules:
Configuring GitLab CI pipelines to work as desired is not always straightforward. A common issue is introducing rules to include or exclude jobs from a pipeline and this leads to unexpected results when using pipelines. Some wonder what is a detached pipeline in GitLab CI. Let’s try to understand what is happening behind the hood.