Docs · GitHub integration

Connect VeriFlow to GitHub

The current integration uses a GitHub App permission grant to authorize access, then installs a VeriFlow webhook on each repository you choose. Follow the existing connection flow below.

Start GitHub connection

Least-privilege GitHub App access

For an ordinary VeriFlow pull request review, grant only the core repository permissions below. You choose the repositories in VeriFlow, and the connection is stored for your account.

Required for ordinary PR reviews

  • Metadata — Read-only. Identifies the connected repository.
  • Contents — Read & write. Supports reading repository content and the review workflow.
  • Pull requests — Read & write. Supports reading pull requests and posting the review.

Optional access for status and tracking

These permissions are not prerequisites for an ordinary PR review. Add them only for the corresponding optional workflows:

  • Checks — Read & write. Supports status-check workflows.
  • Issues — Read & write. Supports tracking-issue workflows.

See GitHub's guide to choosing permissions for a GitHub App for how access levels are selected, and its permissions-to-REST-endpoints reference for how GitHub App permissions map to API endpoints.

Configure webhook subscriptions

Follow GitHub's Creating webhooks guide, and use the Webhook events and payloads reference for event details.

Required: pull request reviews

Subscribe to pull_request. VeriFlow starts or refreshes a review for the opened, synchronize, and reopened actions. Other pull-request actions do not start a VeriFlow review.

Optional: connection verification

Subscribe to ping only if you want connection verification. A ping confirms webhook connectivity; it does not start a review.

Set up the connection

  1. 1

    Start at onboarding

    Open /onboarding and choose Continue with GitHub. VeriFlow starts the GitHub App installation flow and returns you to repository selection.

  2. 2

    Review the GitHub App permissions

    On the GitHub App installation screen, confirm the core permissions: Metadata read-only, Contents read & write, and Pull requestsread & write. These are the least-privilege permissions for ordinary PR reviews. Checks and Issues are optional and only support status-check or tracking-issue workflows.

  3. 3

    Select repositories

    On /onboarding/select, VeriFlow loads the repositories available to your GitHub account. Search or filter the list, select one or more repositories, then submit Install … webhooks.

  4. 4

    Install the repository webhooks

    VeriFlow creates one webhook for each selected repository and persists the per-repository connection. Configure the required pull_request subscription for reviews and add the optional ping subscription only for connection verification.

  5. 5

    Confirm the connection

    On /onboarding/confirm, check the connection status for each repository or use its Ping control to verify the webhook round-trip. The first review trigger is a pull_request delivery.

What happens after connection

The webhook handler processes pull request deliveries when the action is opened, synchronize, or reopened. Open a pull request in a connected repository, or push a new commit to it, to send the supported delivery into VeriFlow.

A ping is for checking the connection itself; it is not the review trigger. The repository must be selected in VeriFlow before its webhook can deliver events to the connection.

Troubleshooting the setup

  • OAuth does not start or completes for the wrong account. Return to /onboarding and restart the connection with the GitHub account that can access the repositories you want to select.
  • The repository list is empty. Confirm that the authorized GitHub account can access at least one repository, then retry the connection and return to /onboarding/select.
  • A webhook cannot be installed. Check that the selected repository is still accessible to the authorized account and retry from repository selection.
  • The confirmation stays pending. Use the repository’s Ping control on /onboarding/confirm. If the round-trip still does not complete, return to selection and reinstall the hook for that repository.

Ready to evaluate VeriFlow?

Connect a repository or see a review first

Start the real connection flow, inspect the existing demo, or create a free account.