refactor + add description options

This commit is contained in:
Hussam.lawen
2023-10-24 22:28:57 +03:00
parent 07617eab5a
commit 1a89c7eadf
5 changed files with 38 additions and 24 deletions

View File

@ -38,7 +38,24 @@ extra_instructions = ""
use_description_markers=false
include_generated_by_header=true
custom_labels = ['Bug fix', 'Tests', 'Bug fix with tests', 'Refactoring', 'Enhancement', 'Documentation', 'Other']
[custom_labels."Bug fix"]
description = "Fixes a bug in the code"
[custom_labels."Tests"]
description = "Adds or modifies tests"
[custom_labels."Bug fix with tests"]
description = "Fixes a bug in the code and adds or modifies tests"
[custom_labels."Refactoring"]
description = "Refactors the code without changing its functionality"
[custom_labels."Enhancement"]
description = "Adds new features or functionality"
[custom_labels."Documentation"]
description = "Adds or modifies documentation"
[custom_labels."SQL modifications"]
description = "Adds or modifies SQL queries"
[custom_labels."Other"]
description = "Other changes that do not fit in any of the above categories"
#custom_labels = ['Bug fix', 'Tests', 'Bug fix with tests', 'Refactoring', 'Enhancement', 'Documentation', 'Other']
[pr_questions] # /ask #

View File

@ -19,6 +19,7 @@ PR Title:
description: an informative title for the PR, describing its main theme
PR Type:
type: array
description: One or more labels that describe the PR type. Don't output the description in the parentheses.
items:
type: string
enum: