mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Clarify the when.tag
example (#918)
Clarify the `when.tag` example: - The `tag` filter is only used if it's also a `tag` event, so this makes the example clearer for new users. - mention glob
This commit is contained in:
parent
7d7d75d7e5
commit
eb2118e451
1 changed files with 4 additions and 2 deletions
|
@ -376,11 +376,13 @@ when:
|
|||
|
||||
#### `tag`
|
||||
|
||||
Execute a step if the tag name starts with `release`:
|
||||
This filter only applies to tag events.
|
||||
Use glob expression to execute a step if the tag name starts with `v`:
|
||||
|
||||
```diff
|
||||
when:
|
||||
tag: release*
|
||||
event: tag
|
||||
tag: v*
|
||||
```
|
||||
|
||||
#### `status`
|
||||
|
|
Loading…
Reference in a new issue