docs: update default setting for publish_labels to false and adjust related documentation

This commit is contained in:
mrT23
2024-10-21 17:56:15 +03:00
parent 3efd2213f2
commit 0b32b253ca
4 changed files with 14 additions and 4 deletions

View File

@ -75,7 +75,7 @@ maximal_review_effort=5
[pr_description] # /describe #
publish_labels=true
publish_labels=false
add_original_user_description=true
generate_ai_title=false
use_bullet_points=true

View File

@ -133,7 +133,7 @@ class PRDescription:
if get_settings().config.publish_output:
# publish labels
if get_settings().pr_description.publish_labels and self.git_provider.is_supported("get_labels"):
if get_settings().pr_description.publish_labels and pr_labels and self.git_provider.is_supported("get_labels"):
original_labels = self.git_provider.get_pr_labels(update=True)
get_logger().debug(f"original labels", artifact=original_labels)
user_labels = get_user_labels(original_labels)