Skip to main content
Available on the Enterprise plan. Contact sales to learn more.
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. They depend on webhooks and support GitHub and GitLab only. Use a service account to separate Automation activity from human work.

Configuration

Pull request trigger configuration

Webhook

Click Configuration to set up the webhook that connects this Automation to your Git provider. The webhook determines which repositories or organization the Automation listens to. See Webhooks for setup details. If your organization has webhooks enabled, a dropdown appears instead, letting you select an existing webhook or configure a new one.

Runs on

  • Projects (recommended): select projects. The Automation monitors all repositories within them.
  • Repositories: use a search query to filter specific repositories.

Triggers on PR

EventWhen it fires
OpenedNew PR created
UpdatedNew commits pushed
Ready for reviewDraft marked ready
Review requestedReviewer assigned for review
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