-
Notifications
You must be signed in to change notification settings - Fork 864
Add ignore_repositories config for PR filtering #1736
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
base: main
Are you sure you want to change the base?
Conversation
What Changed? * Added support to ignore PRs/MRs from specific repositories in GitHub, Bitbucket, and GitLab webhook logic * Updated configuration.toml to include ignore_repositories option * Added unit tests for ignore_repositories across all supported providers
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Thanks for the PR @miked-qc There are ample ways in Qodo Merge to disable automatic feedback on specific repos. (global and local configuration file, app repository selection) Two issues should be addressed before I could approve the PR:
|
User description
We want to enable the pr-agent for hundreds of projects in our organization, and then exclude a handful of repos from being reviewed. Given there seems to be no current solution for that, this option has been added here.
What Changed?
PR Type
enhancement, tests
Description
Added
ignore_repositories
config to filter PRs/MRs by repository.Updated configuration documentation to include
ignore_repositories
.Added comprehensive unit tests for repository ignore logic.
Changes walkthrough 📝
bitbucket_app.py
Add repository ignore logic and debug logging for Bitbucket
pr_agent/servers/bitbucket_app.py
ignore_repositories
.github_app.py
Add repository ignore logic for GitHub PRs
pr_agent/servers/github_app.py
ignore_repositories
.gitlab_webhook.py
Add repository ignore logic for GitLab MRs
pr_agent/servers/gitlab_webhook.py
ignore_repositories
.configuration.toml
Document ignore_repositories config option
pr_agent/settings/configuration.toml
ignore_repositories
config option.test_ignore_repositories.py
Add tests for repository ignore filtering logic
tests/unittest/test_ignore_repositories.py
ignore_repositories
logic across all providers.