docs: update custom labels configuration and usage instructions in describe tool

This commit is contained in:
mrT23
2024-06-23 16:53:45 +03:00
parent 3f3e9909fe
commit 2990aac955
2 changed files with 25 additions and 14 deletions

View File

@ -505,7 +505,7 @@ def set_custom_labels(variables, git_provider=None):
if not get_settings().config.enable_custom_labels:
return
labels = get_settings().custom_labels
labels = get_settings().get('custom_labels', {})
if not labels:
# set default labels
labels = ['Bug fix', 'Tests', 'Bug fix with tests', 'Enhancement', 'Documentation', 'Other']