Fix doc typo that missed important words

The docs say that job.post-review is set to True if the job is defined
in an untrusted-project. However, that's only true if the job uses
secrets.

Change-Id: Iae85b59848144504fbcb47d4fa95a6c3cb3c0207
changes/05/509905/3
Monty Taylor 2017-10-05 16:16:19 -05:00
parent 950c6b1e2d
commit a49b0ea078
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 6 additions and 6 deletions

View File

@ -952,12 +952,12 @@ Here is an example of two job definitions:
A boolean value which indicates whether this job may only be
used in pipelines where :attr:`pipeline.post-review` is
``true``. This is automatically set to ``true`` if this job is
defined in a :term:`untrusted-project`. It may be explicitly
set to obtain the same behavior for jobs defined in
:term:`config projects <config-project>`. Once this is set to
``true`` anywhere in the inheritance hierarchy for a job, it
will remain set for all child jobs and variants (it can not be
``true``. This is automatically set to ``true`` if this job
uses a :ref:`secret` and is defined in a :term:`untrusted-project`.
It may be explicitly set to obtain the same behavior for jobs
defined in :term:`config projects <config-project>`. Once this
is set to ``true`` anywhere in the inheritance hierarchy for a job,
it will remain set for all child jobs and variants (it can not be
set to ``false``).
.. _project: