@@ -69,6 +69,10 @@ reviews:
6969 base_branches :
7070 - " develop"
7171 - " feat/.*"
72+ tools :
73+ ast-grep :
74+ rules_folder : " custom-rules-folder-name"
75+ utils_folder : " custom-utils-folder-name"
7276chat :
7377 auto_reply : true
7478` ` `
@@ -112,6 +116,12 @@ YAML settings:
112116 ` true` ).
113117 - **base_branches**: A list of base branches where the reviews will occur
114118 apart from the default branch. Accepts regex pattern.
119+ - **tools**: Configurations for the tools used in the review.
120+ - **ast-grep**: Configurations for the ast-grep tool.
121+ - **rules_folder**: The folder name where the custom ast-grep rules are
122+ stored.
123+ - **utils_folder**: The folder name where the custom ast-grep utils are
124+ stored.
1151254. **chat** : Defines the behavior of CodeRabbit's bot in conversations.
116126 - **auto_reply**: The bot automatically replies without the need of the user
117127 tagging it ( default : ` true` ).
@@ -156,6 +166,12 @@ settings:
156166 collapse_walkthrough_comment: true
157167 # Disable automatic code reviews for this repository.
158168 disable_review: false
169+ # External tools configurations
170+ tools:
171+ # tools configuration for ast-grep
172+ ast-grep:
173+ rules_folder: "custom-rules-folder-name"
174+ utils_folder: "custom-utils-folder-name"
159175` ` `
160176
161177<!--  -->
@@ -189,6 +205,12 @@ This configuration file consists of the following settings:
189205 be posted.
19020613. **collapse_walkthrough_comment** : Specifies whether to collapse walkthrough
191207 comments on the review.
208+ 14. **tools** : Configurations for the tools used in the review.
209+ - **ast-grep**: Configurations for the ast-grep tool.
210+ - **rules_folder**: The folder name where the custom ast-grep rules are
211+ stored.
212+ - **utils_folder**: The folder name where the custom ast-grep utils are
213+ stored.
192214
193215Refer :
194216[CodeRabbit configuration schema](https://coderabbit.ai/integrations/coderabbit-overrides.json).
0 commit comments