From: Quanah Gibson-Mount Date: Tue, 8 Dec 2020 17:54:21 +0000 (+0000) Subject: Prevent forks of release branches from triggering CI/CD when pushed. All work in... X-Git-Tag: OPENLDAP_REL_ENG_2_4_57~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc632fa7aa430ca1acf05fbbd3bbb1f63e3c9522;p=thirdparty%2Fopenldap.git Prevent forks of release branches from triggering CI/CD when pushed. All work in forks should be done in a non-release branch --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a1e9fe49a..47ec9e3f74 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,9 @@ +workflow: + rules: + - if: '$CI_COMMIT_REF_NAME == "OPENLDAP_REL_ENG_2_4" && $CI_PROJECT_NAMESPACE != "openldap"' + when: never + - when: always + stages: - build