greptile.json file to the root of the
repo. Settings will be read from the source branch of the PR.
You can grab your global settings in the correct format
here by clicking on the copy or download icons
on the top right of the Settings panel.
Configuration Hierarchy
Settings ingreptile.json override dashboard settings for that repository. The hierarchy is:
- greptile.json (highest priority) - Repository-specific configuration
- Dashboard settings (lower priority) - Organization-wide defaults
The
ignorePatterns field follows .gitignore
syntax.greptile.json
Configuration Parameters
labels, disabledLabels, includeAuthors, excludeAuthors, includeBranches, and excludeBranches accept glob patterns mixed with literals: *, **, ?, and {a,b} brace expansion. Matching is case-insensitive. [, ], and leading ! are literal — so dependabot[bot] works as-is; negation is not supported.Comment Types Explained
Available Comment Types
logic- Business logic issues, algorithmic problems, potential bugssyntax- Language-specific best practices, proper usage patternsstyle- Code formatting, naming conventions, structural consistency
commentTypes to a subset.
Example Configurations
Custom Context Explained
ThecustomContext field allows you to provide additional context to help Greptile make more informed
code review decisions. It supports three types of context, each with optional scope targeting:
Custom Context Types
rules - Specific coding rules to enforce
- Define custom coding standards, best practices, or project-specific requirements
- More specific than general instructions, focused on enforceable coding practices
files - Reference existing documentation files
- Point Greptile to existing documentation, style guides, or reference files in your repository
- Includes a
pathfield to specify the file location and optionaldescriptionfor context
other - General instructions or context
- Provide additional background information about your codebase, team practices, or specific requirements
- Use for high-level guidance that doesn’t fit into rules or file references
Scope Targeting
Each context item supports an optionalscope array that uses glob patterns to target specific files: