-
Notifications
You must be signed in to change notification settings - Fork 625
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
Use commit messages in PR tools #168
Conversation
PR Analysis
PR Feedback
How to use
|
Changelog updates: 2023-08-02Enhanced
|
/update_changelog --pr_update_changelog.push_changelog_changes=true |
## 2023-08-02 | ||
|
||
### Enhanced | ||
- Updated several tools in the `pr_agent` package to use commit messages in their functionality. | ||
- Commit messages are now retrieved and stored in the `vars` dictionary for each tool. | ||
- Added a section to display the commit messages in the prompts of various tools. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CHANGELOG.md update
/improve |
PR Analysis
PR Feedback
|
…_messages Use commit messages in PR tools
PR Type:
Enhancement
PR Description:
This PR updates several tools in the
pr_agent
package to use the commit messages in their functionality. The commit messages are now retrieved and stored in thevars
dictionary for each tool.PR Main Files Walkthrough:
pr_agent/tools/pr_code_suggestions.py
: Added thecommit_messages_str
key to thevars
dictionary.pr_agent/tools/pr_description.py
: Removed thecommit_messages_str
variable and added thecommit_messages_str
key to thevars
dictionary.pr_agent/tools/pr_information_from_user.py
: Added thecommit_messages_str
key to thevars
dictionary.pr_agent/tools/pr_questions.py
: Added thecommit_messages_str
key to thevars
dictionary.pr_agent/tools/pr_reviewer.py
: Added thecommit_messages_str
key to thevars
dictionary.pr_agent/tools/pr_update_changelog.py
: Added thecommit_messages_str
key to thevars
dictionary.pr_agent/settings/pr_code_suggestions_prompts.toml
: Added a section to display the commit messages.pr_agent/settings/pr_information_from_user_prompts.toml
: Added a section to display the commit messages.pr_agent/settings/pr_questions_prompts.toml
: Added a section to display the commit messages.pr_agent/settings/pr_reviewer_prompts.toml
: Added a section to display the commit messages.pr_agent/settings/pr_update_changelog_prompts.toml
: Added a section to display the commit messages.