Skip to content

chore: update release-drafter config (remove CI title autolabel, map pre-commit-ci branch)#26

Merged
shenxianpeng merged 1 commit into
mainfrom
chore/update-release-drafter-config
Jul 6, 2026
Merged

chore: update release-drafter config (remove CI title autolabel, map pre-commit-ci branch)#26
shenxianpeng merged 1 commit into
mainfrom
chore/update-release-drafter-config

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Jul 6, 2026

Copy link
Copy Markdown
Member

Changes

  1. Remove CI from title autolabeler — Delete the ci prefix title matching rule, so PRs with ci: prefix titles won't be auto-labeled as chore
  2. Add branch mapping — Map pre-commit-ci-update-config branch to dependencies label, so it falls under 📦 Dependencies category

Rationale

  • pre-commit-ci bot may create PRs with ci: prefix in titles, which shouldn't be categorized as Maintenance
  • pre-commit-ci-update-config is essentially a dependency update branch, so it should be categorized under Dependencies

Summary by CodeRabbit

  • Chores
    • Updated automated release labeling rules to better classify certain maintenance-related changes.
    • Improved label assignment for dependency update branches so those updates are identified more consistently.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Commit-Check ✔️

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates the autolabeler configuration in .github/release-drafter.yml by removing a title-based rule matching ci(...) commits for the chore label and adding a branch-based rule that applies the dependencies label to branches matching pre-commit-ci-update-config/.

Changes

Autolabeler Rule Update

Layer / File(s) Summary
Update autolabeler rules
.github/release-drafter.yml
Removes the ci(...) title-based chore label rule and adds a branch-based rule labeling pre-commit-ci-update-config/ branches as dependencies.

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

Related PRs: None specified.

Suggested labels: dependencies, chore

Suggested reviewers: None specified.

🐰 Poem

A rabbit tweaks the labels bright,
Removes an old rule out of sight,
A branch now marks dependencies clear,
Pre-commit configs, labeled here,
Hop, hop, the YAML feels just right.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the PR’s main changes to release-drafter config and the two autolabel rule updates.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/update-release-drafter-config

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 57e126f into main Jul 6, 2026
4 checks passed
@shenxianpeng shenxianpeng deleted the chore/update-release-drafter-config branch July 6, 2026 18:02
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