summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-08-09 14:50:01 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-08-09 18:41:11 +0200
commit1ea6d585526688eed63d9b5bdbe343c461f921c9 (patch)
tree2a45e9c18ddc9e2956f669c9910eb820aeb21851 /.gitlab-ci.yml
parentd867a58c2b0202a4087b48b893c06906af584021 (diff)
downloadgitlab-ce-1ea6d585526688eed63d9b5bdbe343c461f921c9.tar.gz
Disable danger in preparation branches
Most of these validations don't apply to preparation branches and they cause a lot of noise in the merge request. Therefore disabling danger when the branches look like branches that could be for a preparation MR.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fcf47421b01..fd02d72b4c2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -453,6 +453,7 @@ danger-review:
- master
variables:
- $CI_COMMIT_REF_NAME =~ /^ce-to-ee-.*/
+ - $CI_COMMIT_REF_NAME =~ /.*-stable(-ee)?-prepare-.*/
script:
- git version
- danger --fail-on-errors=true