Refactoring PR Labels Handling and Display#431
Conversation
PR Analysis
PR Feedback
How to use
|
|
/describe |
Refactoring PR Labels Handling and Display
PR Analysis
PR Feedback
How to use
|
|
/describe |
Refactoring PR Labels Handling and Display
PR Type:
Refactoring
PR Description:
This PR introduces several changes related to PR labels handling and display:
PR Main Files Walkthrough:
files:
pr_agent/tools/pr_description.py: The 'PR Labels' key is now used instead of 'PR Type' to prepare labels. The 'PR Labels' key is not displayed in the markdown text. A new configuration option 'enable_pr_type' is added to control whether to display 'PR Type' in the markdown text.pr_agent/tools/pr_reviewer.py: The 'set_custom_labels' function call is commented out.pr_agent/settings/configuration.toml: A new configuration option 'enable_pr_type' is added.pr_agent/settings/pr_custom_labels.toml: The 'Tests' option is removed from 'PR Type'.pr_agent/settings/pr_description_prompts.toml: The 'PR Type' is changed from array to string and the 'PR Labels' key is added.pr_agent/settings/pr_reviewer_prompts.toml: The 'PR Type' is changed from array to string and the 'PR Labels' key is removed.