Update docs/docs/20-usage/20-workflow-syntax.md

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
Kai J 2024-05-14 16:07:50 +02:00 committed by GitHub
parent 7934a701c2
commit ae7e839147
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -402,7 +402,7 @@ when:
You can use [glob patterns](https://github.com/bmatcuk/doublestar#patterns) to match the changed files and specify if the step should run if a file matching that pattern has been changed `include` or if some files have **not** been changed `exclude`.
For commits without file changes (empty commits), you can use `on_empty` to set whether this condition should be **true** _(default)_ or **false** in these cases.
For pipelines without file changes (empty commits or on events without file changes like `tag`), you can use `on_empty` to set whether this condition should be **true** _(default)_ or **false** in these cases.
```yaml
when: