-
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
Added ignore_bot_pr
option
#800
Added ignore_bot_pr
option
#800
Conversation
/describe |
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. PR Description updated to latest commit (781bc9f)
|
1 similar comment
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. PR Description updated to latest commit (781bc9f)
|
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. PR Review
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
1347f7b
to
b71523f
Compare
PR Review(Review updated until commit cae0b96)
Code feedback:
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
/Describe |
PR Description updated to latest commit (b71523f)
|
/Describe |
PR Description updated to latest commit (b71523f)
|
/Describe |
/Review |
/improve |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
interactive chat<.....> backend answers: < ...> |
I will correct this. |
/describe |
/review |
/improve |
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. PR Description updated to latest commit (cae0b96)
|
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
PR-Agent was enabled for this repository. To use it, please link your git user with your CodiumAI identity here. Persistent review updated to latest commit cae0b96 |
@koid are you sure that such a field will always be updated ? what is the definition of 'bot' in github ? I think that a different more robust logic can be something similar to define in the configuration file a list of forbidden keywords (for example this is the implementation of |
ok, its rather intresting:
|
@koid I will test it a bit, and if i see good consistent results (and I think it will), i will turn this option on by default. Good job :-) |
thanks review! |
User description
Add an option to ignore pull requests opend by bots such as
renovate[bot]
.Discussion:
Which is preferable, ignoring bots entirely or allowing specification of users to ignore?
Type
enhancement, configuration changes
Description
ignore_bot_pr
in the settings to enable or disable ignoring bot-opened PRs.handle_new_pr_opened
andget_log_context
functions to support checking the sender type and applying the new ignore bots logic.Changes walkthrough
github_app.py
Support for Ignoring Bot-Opened PRs in GitHub App
pr_agent/servers/github_app.py
sender_type
parameter tohandle_new_pr_opened
andget_log_context
functions to identify the sender type.ignore_bot_pr
setting in the configuration.sender_type
parameter.configuration.toml
Configuration Option to Ignore Bot-Opened PRs
pr_agent/settings/configuration.toml
ignore_bot_pr
to enable ignoringPRs opened by bots.