From afcb997298bf6f89f8ba70845bb4d39996788dfc Mon Sep 17 00:00:00 2001 From: Yaron Elyashiv <3446467+yaronel@users.noreply.github.com> Date: Tue, 26 Jan 2021 15:33:43 +0200 Subject: [PATCH] Fix misleading example The example for semantic versioning under "Patterns to match branches and tags" states it works with tags, but it doesn't state it works with branches like all the other examples. --- content/actions/reference/workflow-syntax-for-github-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/reference/workflow-syntax-for-github-actions.md b/content/actions/reference/workflow-syntax-for-github-actions.md index cedf49f62e75..a13f44a2b48d 100644 --- a/content/actions/reference/workflow-syntax-for-github-actions.md +++ b/content/actions/reference/workflow-syntax-for-github-actions.md @@ -1199,7 +1199,7 @@ For more information about branch, tag, and path filter syntax, see "[`on.
`every/tag` | | `'*feature'` | The `*` character is a special character in YAML. When you start a pattern with `*`, you must use quotes. | `mona-feature`

`feature`

`ver-10-feature` | | `v2*` | Matches branch and tag names that start with `v2`. | `v2`

`v2.0`

`v2.9` | -| `v[12].[0-9]+.[0-9]+` | Matches all semantic versioning tags with major version 1 or 2 | `v1.10.1`

`v2.0.0` | +| `v[12].[0-9]+.[0-9]+` | Matches all semantic versioning branches and tags with major version 1 or 2 | `v1.10.1`

`v2.0.0` | #### Patterns to match file paths