You can have custom settings at the repo level by adding a greptile.json file to the root of the repo in your default branch.

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.

The ignorePatterns field follows .gitignore syntax.

greptile.json
{
  "labels": [
    "feature",
    "bug"
  ],
  "comment": "Disclaimer: This is AI-generated.",
  "commentTypes": [
    "logic",
    "syntax"
  ],
  "instructions": "Ensure style_guide.md is enforced.",
  "ignoreKeywords": "rename\nlinter\nprettier\ngreptile-ignor",
  "ignorePatterns": "testing/**/*.py\n*.md\n*.txt\n*.json",
  "patternRepositories": ["acme/backend"],
  "triggerOnUpdates": true,
  "shouldUpdateDescription": false,
  "disabledLabels": [
    "docs"
  ],
  "includeAuthors": [
    "dakshgup",
    "schoi"
  ],
  "excludeAuthors": [
    "cool-dev"
  ]
}

Configuration Parameters

ParameterTypeDescription
labelsarrayLabels that will trigger a Greptile review when added to a PR. In the example above, adding “feature” or “bug” label will trigger a review.
commentstringA disclaimer or prefix that will be added to every Greptile PR summary. Useful for compliance requirements.
commentTypesarrayTypes of comments Greptile should make. Options include: “logic”, “syntax”, “security”, “performance”, “style”, “compliance”.
instructionsstringNatural language custom instructions for Greptile to follow when reviewing code. Can reference files in your repo or contain specific rules.
ignoreKeywordsstringNewline-separated list of keywords. PRs with these keywords in their title or description will be ignored.
ignorePatternsstringNewline-separated list of file patterns to ignore, following .gitignore syntax. Files matching these patterns will not be reviewed.
patternRepositoriesarrayList of repositories to learn patterns from. Greptile will analyze these repos to understand your codebase’s patterns.
triggerOnUpdatesbooleanIf true, Greptile will review code every time a PR is updated with a new commit.
shouldUpdateDescriptionbooleanIf true, Greptile will update the PR description with a summary of changes. If false, only comments on code.
disabledLabelsarrayPRs with these labels will not be reviewed by Greptile, even if other trigger conditions are met.
includeAuthorsarrayOnly PRs from these authors will be reviewed. If empty, reviews PRs from all authors (except excluded ones).
excludeAuthorsarrayPRs from these authors will not be reviewed, even if other trigger conditions are met.