From 4c74c580f08a1432d7bd89cf2967abbb7e071bf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com>
Date: Fri, 1 Apr 2022 09:28:24 +0200
Subject: [PATCH] CI: disable 'check' job for gitlab-ci integration as
 integrate is already disabled

---
 common.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common.yml b/common.yml
index f576e657..9ac3406b 100644
--- a/common.yml
+++ b/common.yml
@@ -51,6 +51,10 @@ yamllint:
   extends: .infrastructure
   stage: check
   rules:
+    # Do not integration pipeline for merge requests for integrate/gitlab-ci/ branches
+    # The integration is done from the pipeline in gitlab-ci already
+    - if: $CI_COMMIT_REF_NAME =~ /^integrate\/gitlab-ci\/.*/
+      when: never
     - if: $CI_MERGE_REQUEST_IID
     # Explicitly allow externally triggered pipelines in every case
     - if: $CI_PIPELINE_SOURCE == "pipeline" || $CI_PIPELINE_SOURCE == "api"
-- 
GitLab