greptile.json. All parameters are optional.
Place
greptile.json in your repository root. Settings are read from the source branch of the PR and override dashboard settings.Review Behavior
| Parameter | Type | Default | Description |
|---|---|---|---|
strictness | number | 2 | Severity threshold. Must be 1, 2, or 3 |
commentTypes | array | ["logic", "syntax", "style", "info"] | Comment types to provide. Options: logic, syntax, style, info |
triggerOnUpdates | boolean | false | Review every commit to the PR, not just when opened |
skipReview | string | - | Set to "AUTOMATIC" to skip auto-reviews but allow manual triggers |
model | string | - | Specify which AI model to use for reviews |
PR Filters
Control which PRs get reviewed:| Parameter | Type | Description |
|---|---|---|
labels | array | Review only PRs with these labels |
disabledLabels | array | Skip PRs with these labels |
includeAuthors | array | Review only PRs from these authors. Empty = all authors (except excluded) |
excludeAuthors | array | Never review PRs from these authors |
includeBranches | array | Review only PRs to these branches. Empty = all branches (except excluded) |
excludeBranches | array | Never review PRs to these branches |
includeKeywords | string | Newline-separated keywords. Review only PRs with these in title/description |
ignoreKeywords | string | Newline-separated keywords. Skip PRs with these in title/description |
fileChangeLimit | number | Skip PRs with more than this many changed files (minimum: 1) |
File Patterns
| Parameter | Type | Description |
|---|---|---|
ignorePatterns | string | Newline-separated file patterns to skip (follows .gitignore syntax) |
Custom Context
| Parameter | Type | Description |
|---|---|---|
instructions | string | Natural language instructions for code reviews |
customContext | object | Advanced context with rules, files, and other arrays |
patternRepositories | array | Related repos to reference (format: org/repo) |
Review Output
Control how reviews appear:| Parameter | Type | Description |
|---|---|---|
comment | string | Disclaimer/prefix added to every PR summary |
shouldUpdateDescription | boolean | If true, updates PR description. If false, posts as review comment |
updateExistingSummaryComment | boolean | Update existing review comment instead of creating new one |
updateSummaryOnly | boolean | Only update summary, donβt post individual inline comments |
fixWithAI | boolean | Add AI fix prompts to help AI tools understand fixes |
hideFooter | boolean | Hide Greptile footer from review comments |
Review Components
Control visibility of individual review components:| Parameter | Type | Description |
|---|---|---|
includeIssuesTable | boolean | Include issues table in review |
includeConfidenceScore | boolean | Include confidence scores in review |
includeSequenceDiagram | boolean | Include sequence diagrams in review |
Review Sections
Fine-grained control over section visibility and behavior:| Parameter | Type | Properties |
|---|---|---|
summarySection | object | included (boolean), collapsible (boolean), defaultOpen (boolean) |
issuesTableSection | object | included (boolean), collapsible (boolean), defaultOpen (boolean) |
confidenceScoreSection | object | included (boolean), collapsible (boolean), defaultOpen (boolean) |
sequenceDiagramSection | object | included (boolean), collapsible (boolean), defaultOpen (boolean) |
GitHub-Specific
| Parameter | Type | Description |
|---|---|---|
statusCheck | boolean | Create GitHub status check for each review |
statusCommentsEnabled | boolean | Enable status comments on PRs |
Complete Example
greptile.json
Parameter Reference by Category
All parameters alphabetically
All parameters alphabetically
comment- stringcommentTypes- arraycustomContext- objectdisabledLabels- arrayexcludeAuthors- arrayexcludeBranches- arrayfileChangeLimit- numberfixWithAI- booleanhideFooter- booleanignoreKeywords- stringignorePatterns- stringincludeAuthors- arrayincludeBranches- arrayincludeConfidenceScore- booleanincludeIssuesTable- booleanincludeKeywords- stringincludeSequenceDiagram- booleaninstructions- stringlabels- arraymodel- stringpatternRepositories- arrayshouldUpdateDescription- booleanskipReview- string (literal"AUTOMATIC")statusCheck- booleanstatusCommentsEnabled- booleanstrictness- number (1, 2, or 3)triggerOnUpdates- booleanupdateExistingSummaryComment- booleanupdateSummaryOnly- boolean- Section objects:
summarySection,issuesTableSection,confidenceScoreSection,sequenceDiagramSection
Validation
JSON syntax errors
JSON syntax errors
Common mistakes:β Trailing commas:β
No trailing comma:Validate your JSON:
Invalid parameter values
Invalid parameter values
strictness must be 1, 2, or 3:β Invalid - only 1, 2, or 3 allowedcommentTypes must be valid:β
Valid options: β Invalid - must be
logic, syntax, style, infoskipReview must be exactly βAUTOMATICβ:"AUTOMATIC" exactlyFile location
File location
β
Correct: Repository rootβ Wrong: Subdirectory
Configuration not taking effect
Configuration not taking effect
Check:
- File is in repository root
- File exists in the source branch of the PR
- JSON is valid (use jsonlint)
- Parameter names are spelled correctly
- Waiting for new PR (changes donβt affect existing reviews)
Configuration Hierarchy
Settings priority (highest to lowest):- greptile.json in repository root
- Dashboard settings (organization defaults)
greptile.json always overrides dashboard settings.
Whatβs Next
- Custom Standards β - Enforce team-specific rules
- Pattern Repositories β - Reference related codebases
- Controlling Nitpickiness β - Fine-tune review behavior