Turn on CodeRabbit auto-review, exclude docs changes (#43304)

This commit is contained in:
Ian Littman 2026-04-09 14:12:54 -05:00 committed by GitHub
parent c09800e93c
commit 54d8a2ac0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,9 @@ reviews:
suggested_labels: false
suggested_reviewers: false
auto_review:
enabled: false
enabled: true
path_filters:
- "!**/*.md" # Don't weigh in on docs changes at this time
path_instructions:
- path: "**/*.go"
instructions: "When reviewing SQL queries that are added or modified, ensure that appropriate filtering criteria are applied—especially when a query is intended to return data for a specific entity (e.g., a single host). Check for missing WHERE clauses or incorrect filtering that could lead to incorrect or non-deterministic results (e.g., returning the first row instead of the correct one). Flag any queries that may return unintended results due to lack of precise scoping. Review all SQL queries for possible SQL injection."