Skip to content

Commit 7232fa7

Browse files
Update schema.v2.json
1 parent 8b27de2 commit 7232fa7

File tree

1 file changed

+76
-1
lines changed

1 file changed

+76
-1
lines changed

static/schema/schema.v2.json

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
},
138138
"request_changes_workflow": {
139139
"type": "boolean",
140-
"default": false,
140+
"default": true,
141141
"description": "Approve the review once CodeRabbit's comments are resolved. Note: In GitLab, all discussions must be resolved."
142142
},
143143
"high_level_summary": {
@@ -374,6 +374,81 @@
374374
"additionalProperties": false,
375375
"default": {}
376376
},
377+
"pre_merge_checks": {
378+
"type": "object",
379+
"properties": {
380+
"docstrings": {
381+
"type": "object",
382+
"properties": {
383+
"mode": {
384+
"type": "string",
385+
"enum": ["off", "warning", "error"],
386+
"default": "warning",
387+
"description": "Mode | Level of enforcement for docstring coverage check. Warning only generates a warning and does not require the user to resolve the check. While error requires the user to resolve issues before merging pull request."
388+
},
389+
"threshold": {
390+
"type": "number",
391+
"minimum": 0,
392+
"maximum": 100,
393+
"default": 80,
394+
"description": "Percentage threshold for docstring coverage check."
395+
}
396+
},
397+
"additionalProperties": false,
398+
"default": {},
399+
"description": "Docstring Coverage | Checks if the code has sufficient docstrings."
400+
},
401+
"title": {
402+
"type": "object",
403+
"properties": {
404+
"mode": {
405+
"type": "string",
406+
"enum": ["off", "warning", "error"],
407+
"default": "warning",
408+
"description": "Mode | Level of enforcement for pull request title check. Warning only generates a warning and does not require the user to resolve the check. While error requires the user to resolve issues before merging pull request."
409+
},
410+
"requirements": {
411+
"type": "string",
412+
"default": "",
413+
"description": "Requirements | Requirements for the pull request title. Example: 'Title should be concise and descriptive, ideally under 50 characters.'"
414+
}
415+
},
416+
"additionalProperties": false,
417+
"default": {},
418+
"description": "Title Check | Checks if the pull request title is appropriate and follows best practices."
419+
},
420+
"description": {
421+
"type": "object",
422+
"properties": {
423+
"mode": {
424+
"type": "string",
425+
"enum": ["off", "warning", "error"],
426+
"default": "warning",
427+
"description": "Mode | Level of enforcement for pull request description check. Warning only generates a warning and does not require the user to resolve the check. While error requires the user to resolve issues before merging pull request."
428+
}
429+
},
430+
"additionalProperties": false,
431+
"default": {},
432+
"description": "Description Check | Checks if the pull request description is appropriate and follows best practices."
433+
},
434+
"issue_assessment": {
435+
"type": "object",
436+
"properties": {
437+
"mode": {
438+
"type": "string",
439+
"enum": ["off", "warning", "error"],
440+
"default": "warning",
441+
"description": "Mode | Level of enforcement for linked issue assessment. Warning only generates a warning and does not require the user to resolve the check. While error requires the user to resolve issues before merging pull request."
442+
}
443+
},
444+
"additionalProperties": false,
445+
"default": {},
446+
"description": "Linked Issue Assessment | Checks if the pull request addresses the linked issues. Generate an assessment of how well the changes address the linked issues."
447+
}
448+
},
449+
"additionalProperties": false,
450+
"default": {}
451+
},
377452
"tools": {
378453
"type": "object",
379454
"properties": {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy