summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-12-24 18:25:17 +0900
committerShinya Maeda <shinya@gitlab.com>2018-12-24 18:25:17 +0900
commitce09844e8469af771662e290746091ab4bebaf54 (patch)
tree2c2ddd59ab523447e21a3edaf6839dd3c19c8e04
parent751217987b0782115140e4c2858d91a4b596463a (diff)
downloadgitlab-ce-docs-fix-only-except-default.tar.gz
Improve documentation about only except default valuesdocs-fix-only-except-default
-rw-r--r--doc/ci/yaml/README.md4
1 files 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,