From 2f06068ad61a4d5aec197cf0e659d79ad32b51dc Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Tue, 4 Aug 2026 10:23:48 +0000 Subject: [PATCH] fix: stop rejecting Renovate branches in the org config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit allow_branch_types restated commit-check's default list, which froze it. Two prefixes had since dropped out of the copy: dependabot/ and renovate/. dependabot survives because it is also in ignore_authors; Renovate is not, so its branches fail a check they have no way to satisfy. Removing the override hands the list back to commit-check, which keeps it a superset of the Conventional Branch spec. Verified against the version the action pins today (2.12.2): renovate/ and dependabot/ now pass. The types added upstream since — docs/, ci/, test/, refactor/ — start passing once a release carrying them lands, without another edit here. --- commit-check.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/commit-check.toml b/commit-check.toml index 1020c50..304e025 100644 --- a/commit-check.toml +++ b/commit-check.toml @@ -30,5 +30,10 @@ ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "code [branch] # https://conventionalbranch.org conventional_branch = true -allow_branch_types = ["feature", "bugfix", "hotfix", "release", "chore", "feat", "fix", "ai", "claude", "codex", "copilot", "cursor"] +# allow_branch_types is deliberately unset. commit-check's own default is a +# superset of the Conventional Branch spec and already carries the bot +# prefixes (dependabot/, renovate/) alongside the AI agent ones. Restating the +# list here froze it: both bot prefixes had dropped out, so Renovate branches +# failed a check they cannot satisfy, and every type added upstream since was +# invisible to this organisation. ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]", "shenxianpeng"]