Skip to content

ci: automatically categorize pull requests - #18

Merged
snekxs merged 1 commit into
mainfrom
chore/automatic-pr-labels
Oct 11, 2026
Merged

snekxs merged 1 commit into
mainfrom
chore/automatic-pr-labels

Conversation

@snekxs

@snekxs snekxs commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Automatically categorize incoming and updated pull requests by changed files and Conventional Commit title prefixes. Create missing labels and remove stale automation labels while preserving manual triage labels.

Uses pinned actions and API-only processing for fork PRs. Validation: YAML parsing, matching area definitions, whitespace checks, and seven mocked workflow scenarios per repository passed.

Summary by CodeRabbit

  • New Features
    • Pull requests are now automatically labeled by the areas they affect and by recognized title prefixes. Titles marked as breaking changes receive an additional label.
    • Missing configured labels are created automatically, and outdated labels managed by the workflow are removed while other labels are preserved.
  • Documentation
    • Added guidance explaining labeling rules, title formats, and workflow security considerations. Titles without a recognized prefix are not assigned a type label.

@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Repository: OpenMouse-Project/OpenMouse-Bridge/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 19371bf4-5bb0-4abf-8c90-7ff513fb16ef

📥 Commits

Reviewing files that changed from the base of the PR and between c3cfd85 and eed312d.


📒 Files selected for processing (3)
  • .github/PR_LABELS.md
  • .github/labeler.yml
  • .github/workflows/label-pr.yml

 ____________________________________________________________________
< There is a 100% chance that this message is relevant to your code. >
 --------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@snekxs
snekxs merged commit 18cbfa2 into main Oct 11, 2026
3 of 5 checks passed
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