Fix incorrect yaml syntax for ref in docs (#2518)

`when` contents for the `ref` option were written as a mapping, but it
must be a list.
This commit is contained in:
Abraham Toriz Cruz 2023-10-08 06:27:59 -06:00 committed by GitHub
parent 259ff78a62
commit 905b18cdbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -373,7 +373,7 @@ This allows you to filter, for example, tags that must start with **v**:
```yaml
when:
event: tag
- event: tag
ref: refs/tags/v*
```