Configure auto-approve
1
Open Auto-approve settings
On the Greptile dashboard, go to Code Review Settings -> Auto-approve.

2
Enable auto-approve
Turn on Auto-approve pull requests.
3
Set the maximum risk
Choose the highest risk level Greptile is allowed to approve. Greptile only auto-approves PRs at or below this level.Use Low for docs, tests, styling, and small code changes. Use higher levels only when you are comfortable with Greptile approving those changes without another human review. Critical-risk changes are never auto-approved.
4
Add filters
Add filters for labels, branches, files, or authors that should never be auto-approved. Add per-repo filters in your
.greptile file.Auto-approval still requires a clean 5/5 Greptile review. If Greptile finds an issue, or the PR does not meet the configured risk threshold, it will not approve the PR.
How risk levels work
The risk level controls the broadest class of changes Greptile can approve.- Low: docs, tests, styling, and small code changes assessed as low-risk
- Medium: ordinary application or business-logic changes
- High: dependency updates, build or runtime config, and core shared modules
Filters
Filters let you exclude PRs from auto-approval even when Greptile rates them as safe. Use filters for changes that need a human reviewer every time, such as:- Sensitive branches
- Release or migration labels
- Critical files or directories
- Authors whose PRs need extra review
.greptile file.