-
Notifications
You must be signed in to change notification settings - Fork 529
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
Tr/help fixes #1247
Tr/help fixes #1247
Conversation
PR Reviewer Guide 🔍
|
/help "My team often creates pull requests (PRs) from a combined branch that has already reviewed branches for production deployment. In these cases, executing auto-triggered tasks on such PRs is often unnecessary, as they may involve extensive code changes and place significant load on the pr-agent service. For example, this can be implemented by adding a flag to the PR title or at the end of the PR description. When this flag is present, pr-agent will not automatically perform a review. However, if needed, users can still trigger a review manually by entering a command in a comment after the PR is created. |
Question:My team often creates pull requests (PRs) from a combined branch that has already reviewed branches for production deployment. In these cases, executing auto-triggered tasks on such PRs is often unnecessary, as they may involve extensive code changes and place significant load on the pr-agent service. For example, this can be implemented by adding a flag to the PR title or at the end of the PR description. When this flag is present, pr-agent will not automatically perform a review. However, if needed, users can still trigger a review manually by entering a command in a comment after the PR is created. Answer:Thank you for your suggestion. While PR-Agent doesn't currently have a built-in feature to selectively disable auto-triggered tasks on specific pull requests, there are some existing configuration options that might help address your needs:
While these options don't provide the exact functionality you're suggesting, they do offer some level of control over automatic actions. Your suggestion for a flag in the PR title or description to disable automatic reviews is an interesting idea that could potentially be considered for future updates to PR-Agent. In the meantime, even if automatic reviews are triggered, users can always use the manual commands in PR comments to run specific tools when needed, regardless of the automatic settings. Relevant Sources: |
/help |
Question:add a flag to the PR title or at the end of the PR description. When this flag is present, pr-agent will not run automatically Answer:Unfortunately, PR-Agent does not have a built-in feature to add a flag in the PR title or description to prevent automatic execution. However, there are alternative ways to achieve similar results:
These methods allow you to control when PR-Agent runs automatically, but they require modifying the configuration file rather than adding a flag to individual PRs. Relevant Sources: |
/improve |
PR Code Suggestions ✨Latest suggestions up to 3979632
Previous suggestionsSuggestions up to commit 20d8e76
|
/help |
PR Agent Walkthrough 🤖Welcome to the PR Agent, an AI-powered tool for automated pull request analysis, feedback, suggestions and more. Here is a list of tools you can use to interact with the PR Agent:
(1) Note that each tool be triggered automatically when a new PR is opened, or called manually by commenting on a PR. (2) Tools marked with [*] require additional parameters to be passed. For example, to invoke the |
PR Type
Enhancement, Documentation
Description
Changes walkthrough 📝
pr_help_message.py
Improve snippet indexing and logging in PR Help tool
pr_agent/tools/pr_help_message.py
pr_help_prompts.toml
Enhance Doc-helper AI instructions and model definition
pr_agent/settings/pr_help_prompts.toml