From 870956ec38e5f6c33dc0bcdfe80668cde0ea293d Mon Sep 17 00:00:00 2001
From: Dimitrios Giannopoulos <dimit.giannopoulos@upnet.gr>
Date: Tue, 19 Dec 2023 13:15:53 +0000
Subject: [PATCH] added conditional rules

---
 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8a64474..ca14884 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,18 @@ include:
     file: 
       - ci-templates/default.yml
       - ci-templates/build.yml
+    only:
+      - main
+      - develop
+
+  - project: osl/code/org.etsi.osl.main
+    ref: 12-update-gitlab-ci-file-to-use-inherited-jobs-from-main
+    file: 
+      - ci-templates/default.yml
+      - ci-templates/build_unprotected.yml
+    except:
+      - main
+      - develop
 
 docker_build:
   extends: .docker_build
-- 
GitLab