Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 17 additions & 13 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,6 @@ reviews:

- path: "**"
instructions: |
## PR Template Validation
Comment thread
RoniKishner marked this conversation as resolved.
Check the PR description for required sections from `.github/pull_request_template.md`.
Required sections (must be present, even if empty):
- `##### What this PR does / why we need it:` — MUST be present AND have meaningful content.
Flag as HIGH if the section is missing, empty, whitespace-only, contains only HTML comments,
or contains only placeholder tokens such as `TBD`, `TBA`, `N/A`, `-`, `—`, `none`, or `.`.
- `##### Which issue(s) this PR fixes:` — must be present (may be empty)
- `##### Special notes for reviewer:` — must be present (may be empty)
- `##### jira-ticket:` — must be present (may be empty)
If any required section is absent, or `What this PR does / why we need it:` has no content,
flag it as HIGH severity and ask the author to restore the missing template section(s).

## Approval Policy
You may approve the PR when ALL of the following are true:
- All your review comments have been addressed with either:
Expand Down Expand Up @@ -136,10 +124,26 @@ reviews:
mode: error
requirements: "Must be under 120 chars and clearly describe the change."
description:
mode: error
mode: "off"
docstrings:
mode: "off"
custom_checks:
- name: "PR Template Sections"
mode: error
instructions: |
Check the current PR description (the actual, live PR body — not a cached or
per-file view of it) for required sections from `.github/pull_request_template.md`.
Required sections (must be present, even if empty):
- `##### What this PR does / why we need it:` — MUST be present AND have meaningful
content. Fail as HIGH if the section is missing, empty, whitespace-only, contains
only HTML comments, or contains only placeholder tokens such as `TBD`, `TBA`,
`N/A`, `-`, `—`, `none`, or `.`.
- `##### Which issue(s) this PR fixes:` — must be present (may be empty)
- `##### Special notes for reviewer:` — must be present (may be empty)
- `##### jira-ticket:` — must be present (may be empty)
If any required section is absent, or `What this PR does / why we need it:` has no content,
flag it as HIGH severity and ask the author to restore the missing template section(s).

- name: "STP link required"
mode: error
instructions: |
Expand Down
Loading