Skip to content

Commit 5c9493b

Browse files
authored
Merge pull request #43685 from github/repo-sync
Repo sync
2 parents a6dd47f + ca9b7dc commit 5c9493b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-tag-protection-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ Additionally, you can create custom repository roles to allow other groups of us
2525
{% data reusables.repositories.sidebar-settings %}
2626
1. In the "Code and automation" section of the sidebar, click **{% octicon "tag" aria-hidden="true"%} Tags**.
2727
1. Click **New rule**.
28-
1. Under "Tag name pattern", type the pattern of the tags you want to protect. In this example, typing "\*" protects all tags.
28+
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.
2929
![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)
3030
1. Click **Add rule**.

0 commit comments

Comments
 (0)