diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-08 15:12:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-08 15:12:07 +0300 |
commit | 6a380347147d1a55afbc6a1c16e04b567ab90d86 (patch) | |
tree | 9854eb7894cbe8a47976cce0289aa861df79eee3 /doc/ci | |
parent | 4901ff1764398bb017487d4a5104b74bc284f33a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/yaml/index.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ci/yaml/index.md b/doc/ci/yaml/index.md index fefd34e855d..e6a5625a827 100644 --- a/doc/ci/yaml/index.md +++ b/doc/ci/yaml/index.md @@ -175,13 +175,13 @@ is similar to [`rules:` defined in jobs](#rules). You can use the [`workflow:rules` templates](#workflowrules-templates) to import a preconfigured `workflow: rules` entry. -`workflow: rules` accepts these keywords: +`workflow: rules` accepts some of the same keywords as [`rules`](#rules): -- [`if`](#rulesif): Check this rule to determine when to run a pipeline. -- [`when`](#when): Specify what to do when the `if` rule evaluates to true. - - To run a pipeline, set to `always`. - - To prevent pipelines from running, set to `never`. -- [`variables`](#workflowrulesvariables): If not defined, uses the [variables defined elsewhere](#variables). +- [`rules: if`](#rulesif). +- [`rules: changes`](#ruleschanges). +- [`rules: exists`](#rulesexists). +- [`when`](#when), can only be `always` or `never` when used with `workflow`. +- [`variables`](#workflowrulesvariables). When no rules evaluate to true, the pipeline does not run. |