]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Prevent forks of release branches from triggering CI/CD when pushed. All work in...
authorQuanah Gibson-Mount <quanah@openldap.org>
Fri, 20 Nov 2020 21:33:37 +0000 (21:33 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 30 Nov 2020 18:15:21 +0000 (18:15 +0000)
.gitlab-ci.yml

index 44688ddb0129042d6c213ebf030e22e8490a2681..05c25d311299c117ded4014470a1a8a77d8f492f 100644 (file)
@@ -1,3 +1,11 @@
+workflow:
+  rules:
+    - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PROJECT_NAMESPACE != "openldap"'
+      when: never
+    - if: '$CI_COMMIT_REF_NAME == "OPENLDAP_REL_ENG_2_5" && $CI_PROJECT_NAMESPACE != "openldap"'
+      when: never
+    - when: always
+
 stages:
   - build