Ignore pull requests from analysis
You can prevent automatic reviews from running on certain pull requests based on specific criteria:- PRs with specific titles (using regex matching)
- PRs between specific branches (using regex matching)
- PRs from specific repositories (using regex matching)
- PRs not from specific folders
- PRs containing specific labels
- PRs opened by specific users
- PRs generated files by language/framework
- Ignore tickets with specific labels
Ignore PRs with specific titles
To ignore PRs with a specific title such as “[Bump]: …”, you can add the following to your configuration file:ignore_pr_title is a list of regex patterns to match the PR title you want to ignore. Default is ignore_pr_title = ["^\\[Auto\\]", "^Auto"].
Ignore PRs between specific branches
To ignore PRs from specific source or target branches, you can add the following to your configuration file:ignore_pr_source_branches and ignore_pr_target_branches are lists of regex patterns to match the source and target branches you want to ignore. They are not mutually exclusive, you can use them together or separately.
Ignore PRs from specific repositories
To ignore PRs from specific repositories, you can add the following to your configuration file:ignore_repositories is a list of regex patterns to match the repositories you want to ignore. This is useful when you have multiple repositories and want to exclude certain ones from analysis.
Ignore PRs not from specific folders
To allow only specific folders (often needed in large monorepos), set:Ignore PRs containing specific labels
To ignore PRs containing specific labels, you can add the following to your configuration file:ignore_pr_labels is a list of labels that when present in the PR, the PR will be ignored.
Ignore PRs from specific users
Qodo tries to automatically identify and ignore pull requests created by bots using:- GitHub’s native bot detection system
- Name-based pattern matching
- Bots are registered as regular user accounts
- Bot names don’t match common patterns
ignore_pr_authors is a regex list of usernames that you want to ignore.
There is one specific case where bots will receive an automatic response - when they generated a PR with a failed test. In that case, the
ci_feedback tool will be invoked.Ignore generated files by language/framework
To automatically exclude files generated by specific languages or frameworks, you can add the following to your configuration file:generated_code_ignore.toml. Files matching these glob patterns will be automatically excluded from PR Agent analysis.
Ignore tickets with specific labels
When Qodo analyzes tickets (JIRA, GitHub Issues, GitLab Issues, etc.) referenced in your PR, you may want to exclude tickets that have certain labels from the analysis. This is useful for filtering out tickets marked as “ignore-compliance”, “skip-review”, or other labels that indicate the ticket should not be considered during PR review. To ignore tickets with specific labels, add the following to your configuration file:ignore_ticket_labels is a list of label names that should be ignored during ticket analysis.