mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
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:
parent
0c856f1b64
commit
ec8d6edbd9
1 changed files with 8 additions and 0 deletions
|
|
@ -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:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue