Resources · GitHub workflow

Configure a VeriFlow GitHub review

Connect the repository, add a small review policy on its default branch, then read the summary and inline findings on a pull request. Use this guide to follow the setup and tune the configuration documented for VeriFlow.

Start here

The review workflow, in order

  1. Connect GitHub

    Start at /onboarding and choose Continue with GitHub. Review the requested access, then select the repository or repositories VeriFlow should review.

    The GitHub connection guide documents the permissions and selection flow.

  2. Install and confirm the repository webhook

    Submit the selected repositories with the webhook installation control, then confirm each connection in onboarding. The connection guide describes pull_request as the review event and ping as an optional connectivity check. A ping checks the connection; it does not start a review.

  3. Commit the configuration on the default branch

    Add .github/review.ymlto the connected repository's default branch. Start with the minimum config below, or use the documented options to tune depth, file scope, comment limits, and language overrides.

  4. Open or update a pull request, then read the result

    The quickstart describes opening a PR or moving a draft out of draft. The checked-in GitHub connection guide and webhook handler list supported review actions as opened, synchronize, and reopened; the handler does not list GitHub's ready_for_review action. This checkout therefore does not confirm that marking a draft ready by itself starts a review. Open a PR or push a new commit to an existing PR for one of the actions the handler accepts.

    Read the file-level summary in the PR review body and the inline comments on the lines that earned findings. The checked-in quickstart describes those as the two parts of the returned review.

review.yml

Configure the review policy

The checked-in configuration reference says the file is read from the default branch when a pull request is opened or marked ready for review. The webhook handler in this checkout does not accept ready_for_review, so that timing is not confirmed here; see the trigger note above. The reference describes omitted values as falling back to these defaults:

version
Set to 1; the reference says version 1 is the supported schema version.
depth
Defaults to standard. Choose summary, standard, or deep.
paths
Defaults to **/* and is documented as a glob allowlist. The reference says paths.ignore can carve exceptions out of that allowlist.
ignore
Defaults to []. Matching files are skipped even when allowed by paths; the reference documents a one-line note on the PR when matching files are touched.
comments
Defaults to per_file: 5 and per_review: 40.
languages
Defaults to {}. Language entries override the same settings for that language.

Minimum config

The reference documents this schema pin as the minimum; omitted settings use the defaults above.

version: 1

A valid YAML example

This uses the documented top-level allowlist and ignore list, with language-specific overrides. The YAML syntax is valid; runtime parser acceptance cannot be checked in this checkout.

version: 1
depth: standard
paths:
  - "src/**"
  - "packages/*/src/**"
ignore:
  - "**/generated/**"
  - "package-lock.json"
comments:
  per_file: 5
  per_review: 40
languages:
  typescript:
    depth: standard
    comments: { per_file: 6, per_review: 50 }
  python:
    depth: deep
    paths:
      - "**/*.py"
    comments:
      per_file: 7
      per_review: 60
  go:
    depth: standard
    comments: { per_file: 4, per_review: 30 }
  rust:
    depth: deep
    comments: { per_file: 7, per_review: 60 }

The reference describes paths.ignore as a way to carve exceptions out of paths, but its example does not provide an unambiguous YAML shape for that nested setting. This guide avoids guessing at the nesting; the example uses the separately documented top-level ignore list instead.

See the full review.yml reference for the source documentation, and confirm parser-specific details against the deployed configuration before relying on an undocumented YAML shape.

Start with language-specific defaults

The reference documents typescript, python, go, and rust examples. Keep only the entries that match your repository, then tune the same depth, paths, ignore, or comments settings for that language.

  • typescript — standard depth; the reference sample uses six comments per file and fifty per review.
  • python — deep depth and a**/*.py path allowlist in the reference sample.
  • go — standard depth; the reference sample uses four comments per file and thirty per review.
  • rust — deep depth; the reference sample uses seven comments per file and sixty per review.

If no review appears

The quickstart names two first checks: make sure the repository was selected in VeriFlow and that its webhook was installed. Return to the GitHub connection guide to review repository selection and confirm the webhook. Its optional Ping control checks connectivity but does not trigger a review.