Describe that conditions of an 'if' are 'and' (#36270)

This commit is contained in:
Clément Notin 2024-12-10 10:56:36 +01:00 committed by GitHub
parent 378c353a1d
commit 121f122c6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -576,9 +576,8 @@ It contains the following fields:
## If-then ## If-then
This {% term action %} allow you to conditionally (`if`) run a sequence of actions (`then`) This {% term action %} allows you to conditionally (`if`), based on or more [conditions](/docs/scripts/conditions/) (which are `and` combined),
and optionally supports running other sequence when the condition didn't run a sequence of actions (`then`) and optionally supports running other sequence when the condition didn't pass (`else`).
pass (`else`).
```yaml ```yaml
script: script: