feat(config): add fine-grained PR metadata check controls #277
Labels
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/auto_review#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Repos can currently enable or disable the PR metadata quality check as a single boolean via
.auto_review.yaml(pr_metadata_check: true/false). The default check bundles several distinct expectations together, such as title shape, non-empty body, body not copying the title, and explaining why the change is needed.Repos should be able to keep the default behavior while tuning these expectations more precisely.
Proposed enhancement
Add repo-config support for fine-grained PR metadata review controls:
auto-review config validate --strict.Possible config shape
Exact schema TBD, but something like:
Backward compatibility should preserve existing boolean config:
Acceptance criteria
pr_metadata_check: true/falsebehavior continues to work..auto_review.example.yamldescribe the new options.