-
Notifications
You must be signed in to change notification settings - Fork 564
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
Add Review Labels for Security and Effort Estimation #452
Conversation
/describe |
PR Analysis(review updated until commit 762a698)
PR Feedback
|
Persistent review updated to latest commit 7a342d3 |
Persistent review updated to latest commit 762a698 |
Add Review Labels for Security and Effort Estimation
PR Type:
Enhancement
PR Description:
This PR introduces the following enhancements:
PR Main Files Walkthrough:
files:
pr_agent/tools/pr_reviewer.py
: Added a new method 'set_review_labels' to set review labels based on the review prediction data. The labels are set for review effort and security concerns if enabled in the settings..pr_agent.toml
: Added a new configuration option 'enable_review_labels_effort' under 'pr_reviewer' section.pr_agent/settings/configuration.toml
: Added new configuration options 'enable_review_labels_security' and 'enable_review_labels_effort' under 'pr_reviewer' section.pr_agent/settings/pr_reviewer_prompts.toml
: Updated the prompts for 'Estimated effort to review' and 'Security concerns' to guide the user to provide the expected format of responses.