chore: add product labels in CodeRabbit (#12459)

Mirror the three product labels (product: pnpm, product: pacquet,
product: pnpr) from the Qodo config into CodeRabbit, auto-applied based
on which stack the diff touches. Enables auto_apply_labels so the
labels are attached to the PR rather than only suggested.
This commit is contained in:
Zoltan Kochan
2026-06-16 23:55:15 +02:00
committed by GitHub
parent b1a28e03f6
commit c9db42dcd8

View File

@@ -4,3 +4,13 @@ reviews:
- path: "**/*"
instructions: |
Apply the "AI Review Guidance" section in AGENTS.md. Security vulnerabilities are the first review priority; performance regressions in pnpm, pacquet, and pnpr are the second priority. Surface only issues tied to changed code, and explain the exploit path, impact, or hot path affected.
# Actually attach the chosen labels to the PR, not just suggest them in the walkthrough.
auto_apply_labels: true
# Custom labels assigned based on which product the diff touches. More than one may apply to a single PR.
labeling_instructions:
- label: "product: pnpm"
instructions: "Apply when changes affect the TypeScript pnpm CLI (any code outside pacquet/ and pnpr/)."
- label: "product: pacquet"
instructions: "Apply when changes affect pacquet, the Rust port of the pnpm CLI (the pacquet/ directory)."
- label: "product: pnpr"
instructions: "Apply when changes affect pnpr, the pnpm registry server (the pnpr/ directory and pacquet/crates/pnpr-* crates)."