-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring PR Labels Handling and Display #431
Conversation
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.