Prevent forks of release branches from triggering CI/CD when pushed. All work in forks should be done in a non-release branch

This commit is contained in:
Quanah Gibson-Mount 2020-12-08 17:54:21 +00:00
parent 41f38c5e99
commit fc632fa7aa

View File

@ -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