Advanced configuration¶
Seeing what's configured¶
All available settings live in the config reference. Per-tool options are documented on each tool's page.
To print the current config as a PR comment:
To see the actual resolved config for a specific tool (after all overrides are applied):
Ignoring files¶
Skip generated code, vendored dependencies, or anything else you don't want reviewed.
Glob patterns¶
Or in config:
Regex patterns¶
Extra instructions¶
Every tool accepts free-text guidance via extra_instructions:
Response language¶
MergeMate defaults to U.S. English. To switch:
Uses ISO 639 / ISO 3166 locale codes. Full locale list →
Only AI-generated text is translated. Static labels and table headers stay in English. Make sure your model supports the target language well.
GitLab submodule diffs¶
By default, GitLab shows submodule changes as a single Subproject commit line. To expand those into full diffs:
This adds extra API calls, so it's off by default.
Log level¶
Control verbosity for debugging:
Default is DEBUG.
Observability platforms¶
MergeMate uses LiteLLM under the hood, so any LiteLLM-compatible observability tool works. Example with LangSmith:
Repository metadata¶
Let MergeMate discover project-wide context automatically:
It scans the PR's head branch for AGENTS.MD, CLAUDE.MD, and other metadata files.
Custom file list:
Ignoring PRs automatically¶
By title¶
Regex patterns. Default: ["^\\[Auto\\]", "^Auto"].
By branch¶
[config]
ignore_pr_source_branches = ['develop', 'main', 'master', 'stage']
ignore_pr_target_branches = ["qa"]
By repository¶
By folder (monorepo allowlist)¶
Only PRs touching files in these folders get automatic feedback.
By label¶
By author¶
MergeMate auto-detects bots using GitHub's bot flag and common naming patterns. To add manual overrides:
Regex list. Note: bots that create PRs with failing tests will still get a response.
By generated file type¶
Patterns come from generated_code_ignore.toml.
By ticket label¶
When MergeMate pulls ticket context (JIRA, GitHub Issues, etc.), skip tickets with certain labels: