mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Turn on CodeRabbit auto-review, exclude docs changes (#43304)
This commit is contained in:
parent
c09800e93c
commit
54d8a2ac0a
1 changed files with 3 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Reference in a new issue