diff options
author | Zuul <zuul@review.opendev.org> | 2022-12-19 23:40:04 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-12-19 23:40:04 +0000 |
commit | 1f9bd3661b08c52975c00c9618e09d62fff25aae (patch) | |
tree | fa2d1c20722a9a8cf520e663bcb8d90ef31627ed /doc | |
parent | 934846b9b3c2bfa65935f4374a87cd0e63a6c881 (diff) | |
parent | 67fd00fdeb066275a2c2c37062c0f74cc7ff2fa1 (diff) | |
download | zuul-1f9bd3661b08c52975c00c9618e09d62fff25aae.tar.gz |
Merge "Document file-matcher behavior for refs w/o files"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/config/job.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/source/config/job.rst b/doc/source/config/job.rst index 435d68e7e..f9e7b7b71 100644 --- a/doc/source/config/job.rst +++ b/doc/source/config/job.rst @@ -1046,6 +1046,14 @@ Here is an example of two job definitions: value is used to determine if the job should run. This is a :ref:`regular expression <regex>` or list of regular expressions. + .. warning:: + + File filters will be ignored for refs that don't have any + files. This will be the case for merge commits (e.g. in a post + pipeline) or empty commits created with + ``git commit --allow-empty`` (which can be used in order to + run all jobs). + .. attr:: irrelevant-files This is a negative complement of **files**. It indicates that @@ -1055,6 +1063,14 @@ Here is an example of two job definitions: are in the docs directory. A :ref:`regular expression <regex>` or list of regular expressions. + .. warning:: + + File filters will be ignored for refs that don't have any + files. This will be the case for merge commits (e.g. in a post + pipeline) or empty commits created with + ``git commit --allow-empty`` (which can be used in order to + run all jobs). + .. attr:: match-on-config-updates :default: true |