diff options
author | Zuul <zuul@review.opendev.org> | 2022-09-30 00:54:15 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-09-30 00:54:15 +0000 |
commit | a0ba200ba70ce137780db397d681b1c3bd071fb8 (patch) | |
tree | 1b539d35f3a919702498c6ea578ee22ee636ed32 /doc | |
parent | 8007ccb79794835e25c5943aa4e56b6e0124039b (diff) | |
parent | 733bb355b2fc30e80ffa79c332508da95cfacb80 (diff) | |
download | zuul-a0ba200ba70ce137780db397d681b1c3bd071fb8.tar.gz |
Merge "Clarify gerrit trigger approval can be dict or list of dicts"7.0.0
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/drivers/gerrit.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/source/drivers/gerrit.rst b/doc/source/drivers/gerrit.rst index 7d052f946..4e7fc7cea 100644 --- a/doc/source/drivers/gerrit.rst +++ b/doc/source/drivers/gerrit.rst @@ -314,9 +314,10 @@ order to be enqueued into the pipeline. This requires that a certain kind of approval be present for the current patchset of the change (the approval could be added by - the event in question). It takes several sub-parameters, all of - which are optional and are combined together so that there must - be an approval matching all specified requirements. + the event in question). Approval is a dictionary or a list of + dictionaries with attributes listed below, all of which are + optional and are combined together so that there must be an approval + matching all specified requirements. .. attr:: username @@ -374,9 +375,9 @@ order to be enqueued into the pipeline. .. attr:: approval - This takes a list of approvals. If an approval matches the - provided criteria the change can not be entered into the - pipeline. It follows the same syntax as + This takes an approval or a list of approvals. If an approval + matches the provided criteria the change can not be entered + into the pipeline. It follows the same syntax as :attr:`pipeline.require.<gerrit source>.approval`. Example to reject a change with any negative vote: |