* ci: gate invalid pull requests with CodeRabbit * fix: harden CodeRabbit PR hygiene gate * fix: make invalid PR label creation idempotent
23 lines
838 B
YAML
23 lines
838 B
YAML
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
|
|
language: "en-US"
|
|
early_access: false
|
|
|
|
reviews:
|
|
profile: "assertive"
|
|
request_changes_workflow: true
|
|
high_level_summary: true
|
|
review_status: true
|
|
auto_review:
|
|
enabled: true
|
|
drafts: false
|
|
pre_merge_checks:
|
|
description:
|
|
mode: "error"
|
|
custom_checks:
|
|
- name: "PR Hygiene"
|
|
mode: "error"
|
|
instructions: "Fail if the PR title or description is not written in English, does not follow the repository PR template, contains leftover template comments or placeholders such as 'Fixes #', TODO, TBD, has no meaningful summary, has no concrete list of changes, or does not document validation. Pass only when the PR clearly explains what changed, why it changed, and how it was validated."
|
|
|
|
chat:
|
|
auto_reply: true
|