From ce09844e8469af771662e290746091ab4bebaf54 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Mon, 24 Dec 2018 18:25:17 +0900 Subject: [PATCH] Improve documentation about only except default values --- doc/ci/yaml/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 440254e58bd..177c0179aa2 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -392,8 +392,8 @@ job: The above example will run `job` for all branches on `gitlab-org/gitlab-ce`, except master. -If a job does not have neither `only` nor `except` rule, -`only: ['branches', 'tags']` is set by default. +If a job does not have an `only` rule, `only: ['branches', 'tags']` is set by +default. If it doesn't have an `except` rule, it is empty. For example,