summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-08-29 12:20:29 +0000
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-09-02 12:19:15 -0300
commitb663a872d9406e21b847ee6853b5429661990a41 (patch)
tree9bb2dcdca9634501d413dd5174f5a031795c213d
parentf4e40c532b5582f47a0dd9bf7054112fc9ec6085 (diff)
downloadgitlab-ce-b663a872d9406e21b847ee6853b5429661990a41.tar.gz
Update Code-Quality.gitlab-ci.yml to use `only.refs`
This allows overriding `only.refs` to something else if needed.
-rw-r--r--lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml b/lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
index 3adc6a72874..3cdb7b5420c 100644
--- a/lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
@@ -25,8 +25,9 @@ code_quality:
expire_in: 1 week
dependencies: []
only:
- - branches
- - tags
+ refs:
+ - branches
+ - tags
except:
variables:
- $CODE_QUALITY_DISABLED