Webhooks

Webhook-drivencode review

React to pushes and pull request events in real time. Incoming webhooks enqueue review jobs when your repository changes, without polling GitHub or waiting for a scheduled CI cron.

push eventsPR openedPR synchronizeHMAC verificationworkspace scoped
How it works

Low latency feedback

Reviews start when the event fires, not when someone manually clicks New review.

Same engine everywhere

Webhook-triggered jobs use identical analysis to paste, API, and Action entry points.

Operational visibility

Failed deliveries show up in GitHub webhook logs; retry after fixing permissions or quota issues.

Workflow

How teams wire it

  1. 1

    Connect repository

    Authorize GitHub and enable webhooks for selected repos in workspace settings.

  2. 2

    Pick events

    Choose push, pull_request, or both depending on when you want reviews to start.

  3. 3

    Verify delivery

    Use recent deliveries in GitHub settings to confirm 2xx responses from CodeCritic.

  4. 4

    Pair with comments

    Enable PR comment sync so authors see results without opening the dashboard.

Examples

Integration examples

Event to review job

Simplified flow from Git host to findings.

GitHub push or pull_request event
  -> CodeCritic webhook receiver
  -> fetch diff for commit range
  -> review job queued
  -> findings available in dashboard / PR comment

FAQ

Common questions

Webhooks are fastest to try for comment feedback. Add the Action when you need review as a required CI check.

Let repository events start reviews

Enable webhooks on one pilot repo and confirm the first PR synchronize enqueues a job within seconds.

Integrations