use_bullet_points

This commit is contained in:
mrT23
2023-10-19 10:45:42 +03:00
parent 193da1c356
commit a2c3db463a
3 changed files with 4 additions and 1 deletions

View File

@ -31,6 +31,7 @@ publish_labels=true
publish_description_as_comment=false
add_original_user_description=false
keep_original_user_title=false
use_bullet_points=true
extra_instructions = ""
# markers
use_description_markers=false

View File

@ -31,7 +31,8 @@ PR Type:
- Other
PR Description:
type: string
description: an informative and concise description of the PR
description: an informative and concise description of the PR.
{%- if use_bullet_points %} Use bullet points. {% endif %}
PR Main Files Walkthrough:
type: array
maxItems: 10

View File

@ -40,6 +40,7 @@ class PRDescription:
"description": self.git_provider.get_pr_description(full=False),
"language": self.main_pr_language,
"diff": "", # empty diff for initial calculation
"use_bullet_points": get_settings().pr_description.use_bullet_points,
"extra_instructions": get_settings().pr_description.extra_instructions,
"commit_messages_str": self.git_provider.get_commit_messages()
}