Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit38ceb29

Browse files
Update schema.v2.json
1 parentd3f45f6 commit38ceb29

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)

[8]ページ先頭

©2009-2025 Movatter.jp