Skip to main content
Pull request triggers run automations when PR events occur — code changes, reviews, merges. Use them for automated code review, security scanning, documentation updates, and compliance checks.
Pull request triggers require webhooks, which are available on the Enterprise plan only. See Plans and limits.
Supports GitHub and GitLab only. Use a service account for PR automations to separate automation activity from human work.

Configuration

Webhook

Select a webhook from the dropdown to connect this automation to your Git provider. The webhook determines which repositories or organization the automation listens to. If no webhooks exist yet, you can create one directly from the dropdown. See Webhooks for setup details. Webhook selector in pull request trigger configuration

Target scope

  • Projects — Select projects; automation monitors all repositories within them
  • Repositories — Use a search query to filter specific repositories
Pull request trigger configuration

Events

EventWhen it fires
OpenedNew PR created
UpdatedNew commits pushed
Ready for reviewDraft marked ready
ApprovedReviewer approves
MergedPR merged
ClosedPR closed without merge
Common combinations: Opened + Updated (check every change), Ready for review (analysis before human review), Approved (final validation)

Next steps