.gitar/config/risk.md at the root of one repository. Choose the example that fits how your team reviews changes. Before enabling auto-approval, compare Gitar’s explanations on a few familiar PRs with the risk levels your reviewers would assign.
Rate changes by their impact
This example suits a service that stores customer records. A change to who can read a record deserves closer review even when the diff is one line and the review finds no defects..gitar/config/risk.md
Account for gaps in release tests
Use this alternative when a team relies on a release test that exercises only part of a workflow. Replace the import example with the path your test actually covers. Revise that description when the test changes..gitar/config/risk.md
risk.md only takes effect when the organization’s assessment is already Low. Gitar considers the default branch’s risk.md and additions in the PR under review. See Risk triage.
Limit what Gitar can do automatically
Add only the files for the actions your team uses. Gitar reads these criteria from the default branch and applies them alongside organization criteria. Turn on each action separately when ready. Enforce required CI checks on the code host.Fix review findings
This example limits automatic fixes for review findings to spelling corrections in prose. CI fixes and explicit fix requests run independently. See Auto-apply..gitar/config/apply.md
Approve low-risk changes
.gitar/config/approve.md
Merge a subset of approved changes
.gitar/config/merge.md
docs/.
Tell reviewers what to look for
A review instruction can point to a specific defect that would matter in a high-risk area. For the import example, give Gitar a failure case it can trace in the diff..gitar/review/import-retries.md