Content-Length: 415678 | pFad | http://github.com/coderabbitai/coderabbit-docs/commit/38ceb293acfb16edf43501f6d34fa9aea0cf968b

F5 Update schema.v2.json · coderabbitai/coderabbit-docs@38ceb29 · GitHub
Skip to content

Commit 38ceb29

Browse files
Update schema.v2.json
1 parent d3f45f6 commit 38ceb29

File tree

1 file changed

+75
-5
lines changed

1 file changed

+75
-5
lines changed

static/schema/schema.v2.json

Lines changed: 75 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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": {
@@ -988,11 +1063,6 @@
9881063
"additionalProperties": false,
9891064
"description": "Tools that provide additional context to code reviews.",
9901065
"default": {}
991-
},
992-
"pre_merge_checks": {
993-
"type": "object",
994-
"additionalProperties": {},
995-
"default": {}
9961066
}
9971067
},
9981068
"additionalProperties": false,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/coderabbitai/coderabbit-docs/commit/38ceb293acfb16edf43501f6d34fa9aea0cf968b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy