ci(labeler): dedupe labels, add hover rules, and tune low-sat palette (#6)

* ci(labeler): dedupe scope labels and prioritize risk/size

* ci(labeler): add hover rule descriptions and refresh label palette

* style(labeler): reduce label saturation for better readability
This commit is contained in:
Chummy 2026-02-16 19:46:22 +08:00 committed by GitHub
parent b3fcdad3b5
commit 389496823d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 290 additions and 66 deletions

View file

@ -49,7 +49,9 @@ Maintain these branch protection rules on `main`:
### Step A: Intake
- Contributor opens PR with full `.github/pull_request_template.md`.
- `PR Labeler` applies scope/path labels + size labels + risk labels + module labels (for example `channel:telegram`, `provider:kimi`, `tool:shell`) and contributor tiers by merged PR count (`experienced` >=10, `principal` >=20, `distinguished` >=50).
- `PR Labeler` applies scope/path labels + size labels + risk labels + module labels (for example `channel:telegram`, `provider:kimi`, `tool:shell`) and contributor tiers by merged PR count (`experienced` >=10, `principal` >=20, `distinguished` >=50), while de-duplicating less-specific scope labels when a more specific module label is present.
- Label ordering is priority-first: `risk:*` -> `size:*` -> contributor tier -> module/path labels.
- Hovering a label in GitHub shows its auto-managed description (rule/threshold summary).
- `Auto Response` posts first-time guidance and handles label-driven routing for low-signal items.
### Step B: Validation