From ae0cb5a7881a1fe92468946c29d04108bee1fa9b Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Tue, 29 Aug 2023 17:56:11 +0100 Subject: [PATCH] Fix Actions branch glob documentation. (#27739) Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> --- .../workflows/section-run-on-specific-branches-or-tags.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/actions/workflows/section-run-on-specific-branches-or-tags.md b/data/reusables/actions/workflows/section-run-on-specific-branches-or-tags.md index 2c960dafba..ee15d3c374 100644 --- a/data/reusables/actions/workflows/section-run-on-specific-branches-or-tags.md +++ b/data/reusables/actions/workflows/section-run-on-specific-branches-or-tags.md @@ -38,7 +38,7 @@ on: When a pattern matches the `branches-ignore` or `tags-ignore` pattern, the workflow will not run. The patterns defined in `branches` and `tags` are evaluated against the Git ref's name. For example, the following workflow would run whenever there is a `push` event, unless the `push` event is to: - A branch named `mona/octocat` (`refs/heads/mona/octocat`) -- A branch whose name matches `releases/**-alpha`, like `beta/3-alpha` (`refs/releases/beta/3-alpha`) +- A branch whose name matches `releases/**-alpha`, like `releases/beta/3-alpha` (`refs/heads/releases/beta/3-alpha`) - A tag named `v2` (`refs/tags/v2`) - A tag whose name starts with `v1.`, like `v1.9` (`refs/tags/v1.9`)