Skip to content

Commit 55b3054

Browse files
committed
docs: say which tag restriction actually needs Enterprise
"GitHub gates tag name patterns" was too broad to be useful: a tag ruleset targets tags by name pattern on any plan, and that is not what costs money. What Enterprise gates is requiring the tag *name* to match a regular expression, through metadata restrictions -- the same distinction the plan-comparison table on the front page already draws between rulesets and metadata restrictions. The sentence now names the narrow claim and links the reference for it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018xYa7m3qup5wyN5MaXFgf6
1 parent 3dcdfb2 commit 55b3054

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎docs/changelog.md‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ below and to the page that documents the feature properly.
3333

3434
* **Tag names can be checked** — `--tag` (`-t`) validates the names of the tags
3535
pointing at the commit under test against a pattern, defaulting to SemVer
36-
with an optional leading `v`. GitHub gates tag name patterns behind its
37-
Enterprise-plan metadata restrictions; this brings the same policy to every
38-
plan and forge. A commit with no tag is a skip, not a failure: the rule
39-
governs how tags are named, and the absence of one is not a naming
40-
violation. A `check-tag` pre-push hook validates exactly what a push
41-
carries. See [CC401](rules.md#cc401).
36+
with an optional leading `v`. GitHub can require a tag name to match a
37+
regular expression only through its Enterprise-plan
38+
[metadata restrictions](https://docs.github.com/en/enterprise-cloud@latest/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#metadata-restrictions)
39+
— tag rulesets themselves are not gated that high; this brings the same
40+
policy to every plan and forge. A commit with no tag is a skip, not a
41+
failure: the rule governs how tags are named, and the absence of one is
42+
not a naming violation. A `check-tag` pre-push hook validates exactly
43+
what a push carries. See [CC401](rules.md#cc401).
4244

4345
* **The files a commit touches can be policed** — `--files` (`-f`) checks file
4446
size ([CC302](rules.md#cc302)), prohibited path patterns

0 commit comments

Comments
 (0)