Commit d85e04e4 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs-fix-only-except-default' into 'master'

Improve documentation about only except default values

Closes #55699

See merge request gitlab-org/gitlab-ce!24016
parents b97b85c3 ce09844e
...@@ -392,8 +392,8 @@ job: ...@@ -392,8 +392,8 @@ job:
The above example will run `job` for all branches on `gitlab-org/gitlab-ce`, The above example will run `job` for all branches on `gitlab-org/gitlab-ce`,
except master. except master.
If a job does not have neither `only` nor `except` rule, If a job does not have an `only` rule, `only: ['branches', 'tags']` is set by
`only: ['branches', 'tags']` is set by default. default. If it doesn't have an `except` rule, it is empty.
For example, For example,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment