From ca9b7dc740ea1713094eb9080eadcb60c8a43898 Mon Sep 17 00:00:00 2001 From: Abhishek Deokar <85890170+Abhishek782@users.noreply.github.com> Date: Tue, 3 Oct 2023 03:52:46 +0530 Subject: [PATCH] Update configuring-tag-protection-rules.md (#28726) Co-authored-by: cmwilson21 <77312589+cmwilson21@users.noreply.github.com> --- .../configuring-tag-protection-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules.md b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules.md index 3370381016..802977f5ce 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules.md @@ -25,6 +25,6 @@ Additionally, you can create custom repository roles to allow other groups of us {% data reusables.repositories.sidebar-settings %} 1. In the "Code and automation" section of the sidebar, click **{% octicon "tag" aria-hidden="true"%} Tags**. 1. Click **New rule**. -1. Under "Tag name pattern", type the pattern of the tags you want to protect. In this example, typing "\*" protects all tags. +1. Under "Tag name pattern", type the pattern of the tags you want to protect. Tag protection rules use `fnmatch` syntax. For information about syntax options, see the [fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch). In this example, typing "\*" protects all tags. ![Screenshot of the "Protected tags / New rule" page. The example pattern `*` is shown with the "Add rule" button. ](/assets/images/help/repository/tag-protection-rule.png) 1. Click **Add rule**.