Commit 00f11215 authored by Cody Mize's avatar Cody Mize Committed by Evan Read

Document matching refs with an at-symbol

At-symbols are used to match a ref to a specific repository path.
Currently this is done by string splitting the ref pattern on the
at-symbol. In order to pattern match a literal `@` you must use
ruby's unicode character matching `\u{0040}`.
parent ccdf7a93
......@@ -391,6 +391,11 @@ job:
The above example will run `job` for all branches on `gitlab-org/gitlab-ce`,
except `master` and those with names prefixed with `release/`.
NOTE: **Note:**
Because `@` is used to denote the beginning of a ref's repository path,
matching a ref name containing the `@` character in a regular expression
requires the use of the hex character code match `\x40`.
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.
......
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