Skip to content

fix: stop rejecting Renovate branches in the org config - #45

Merged
shenxianpeng merged 1 commit into
mainfrom
chore/inherit-default-branch-types
Aug 4, 2026
Merged

fix: stop rejecting Renovate branches in the org config#45
shenxianpeng merged 1 commit into
mainfrom
chore/inherit-default-branch-types

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Aug 4, 2026

Copy link
Copy Markdown
Member

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.

Summary by CodeRabbit

  • Chores
    • Updated branch validation to use the default set of supported branch types.

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.
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Commit-Check ✔️

@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c21b841c-b23a-44b4-b49f-aec6c394d286

📥 Commits

Reviewing files that changed from the base of the PR and between d45fee2 and 2f06068.

📒 Files selected for processing (1)
  • commit-check.toml

📝 Walkthrough

Walkthrough

The branch configuration removes the explicit allow_branch_types list. Commit-check now applies its default branch-type set.

Changes

Branch configuration

Layer / File(s) Summary
Adopt default branch types
commit-check.toml
The configuration removes the fixed allow_branch_types setting and its explicit branch-type list.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: preventing organization configuration from rejecting Renovate branches.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/inherit-default-branch-types

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@shenxianpeng
shenxianpeng merged commit 3ba78f8 into main Aug 4, 2026
2 of 3 checks passed
@shenxianpeng
shenxianpeng deleted the chore/inherit-default-branch-types branch August 4, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant