Skip to content

chore: remove file-based autolabeler rules - #46

Merged
shenxianpeng merged 1 commit into
mainfrom
chore/remove-file-based-autolabeler
Aug 4, 2026
Merged

chore: remove file-based autolabeler rules#46
shenxianpeng merged 1 commit into
mainfrom
chore/remove-file-based-autolabeler

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Aug 4, 2026

Copy link
Copy Markdown
Member

What

Removes the File-based section from the release-drafter autolabeler:

  • documentation label for *.md, *.rst, *.adoc
  • tests label for test/**, tests/**, __tests__/**, *.test.*

Why

Title- and branch-based rules already cover the common cases; file-only heuristics can mislabel PRs (e.g. any markdown touch tagged documentation).

Summary by CodeRabbit

  • Chores
    • Updated release automation by removing automatic labeling rules based on changed file paths and test filename patterns.

Drop the File-based autolabeler section (documentation/tests labels) from
the release-drafter config.
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown

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: 2caa4690-b873-4a70-a711-e212af87742f

📥 Commits

Reviewing files that changed from the base of the PR and between 3ba78f8 and 3cba9ed.

📒 Files selected for processing (1)
  • .github/release-drafter.yml
💤 Files with no reviewable changes (1)
  • .github/release-drafter.yml

📝 Walkthrough

Walkthrough

The release drafter configuration no longer assigns documentation or tests labels from file paths and test filename patterns.

Changes

Cohort / File(s) Summary
Autolabeler configuration
.github/release-drafter.yml
Removed the file-based rules for documentation and tests labels.

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

Possibly related PRs

🚥 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 and concisely describes the removal of file-based autolabeler rules.
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/remove-file-based-autolabeler

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.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Commit-Check ✔️

@shenxianpeng
shenxianpeng merged commit 0df14aa into main Aug 4, 2026
3 checks passed
@shenxianpeng
shenxianpeng deleted the chore/remove-file-based-autolabeler branch August 4, 2026 22:46
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