Skip to main content

.qodex.yaml overview

.qodex.yaml is the repo-level configuration file for Qodex PR review. Most repositories can start without it. When the file is missing, Qodex uses safe defaults: PR review is enabled, merge blocking is off, generated paths are not excluded, and verification probes are limited. Add the file when one repository needs a different review policy than the rest of your projects.

What it controls

Use .qodex.yaml to control:
  • Whether Qodex reviews PRs in this repo.
  • The minimum severity shown in PR comments.
  • Whether verified findings can fail the Qodex Check Run.
  • Which paths Qodex should ignore.
  • Which preview hosts Qodex may probe.
  • Whether non-GET verification probes are allowed.

Where to put it

Place the file at the root of the GitHub repository:
For each review, Qodex reads the file from the PR head SHA. If a PR changes .qodex.yaml, the next review uses the version from that PR branch. If the file is missing, larger than 16 KB, or invalid YAML, Qodex falls back to defaults instead of failing the review.

Default behavior

Unknown fields are ignored, so newer Qodex config fields do not break older parsers.

Example

When to add it

Add .qodex.yaml when:
  • Qodex findings should block merges for this repo.
  • Generated, vendored, fixture, or migration files should be ignored.
  • Verification probes should be limited to approved preview hosts.
  • One repo needs stricter or looser review rules than another.
Skip it when the defaults are enough.

Next steps

.qodex.yaml reference

See every supported field.

Check Run and merge gating

Understand how Qodex can block merges.

Verification probes

Learn how preview checks are scoped.

How a review fires

Follow the full PR review lifecycle.