Merge Automation
How to Configure
Review Automation requires GitHub write access. Once granted, proceed to Baz → Settings → Configurations → Review Automation.
Choose which capability you would like to configure:
- Auto Approve Pull Requests
- Auto Resolve Review Threads

Auto Approve Pull Requests
When enabled, Baz will automatically approve a PR only if all configured conditions are met.
If any condition is not satisfied, no approval is added.
Available Conditions
You can combine the following conditions:
- Repository
- Authors
- Excluded file paths
- Maximum lines changed
- Maximum files changed
Example
- Repo:
frontend-app - Max lines changed: 200
- Exclude path:
/migrations/ - Author: specific team members
Baz will approve only PRs that match all of the above.
Auto Resolve Review Threads
When enabled, Baz may automatically resolve PR comment threads under strict conditions.
This helps reduce manual cleanup of addressed comments.
Default Condition
Baz will only resolve a thread if a later commit has already addressed the comment.
This condition is always enforced and does not require configuration.
Available Conditions
- Repository
- Comment author