summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-07-10 12:10:54 +0200
committerRémy Coutable <remy@rymai.me>2018-07-11 11:52:03 +0200
commitab87e7bab1d5cc20c7b69644843bfcb1f3f16918 (patch)
tree2f908718378fbe6984d65781ea76c623ace57eb6 /.gitlab-ci.yml
parentdc629bb6b8146477fdbf9fcd11d10ebedc785029 (diff)
downloadgitlab-ce-ab87e7bab1d5cc20c7b69644843bfcb1f3f16918.tar.gz
Improve Danger files after first review
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 576a96f66f4..137c26d7dae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -355,9 +355,13 @@ danger-review:
- source scripts/utils.sh
- retry gem install danger --no-ri --no-rdoc
cache: {}
+ only:
+ refs:
+ - branches@gitlab-org/gitlab-ce
+ - branches@gitlab-org/gitlab-ee
except:
- - tags
- - master
+ variables:
+ - $CI_COMMIT_REF_NAME =~ /^ce-to-ee-.*/
script:
- git version
- danger --fail-on-errors=true