Skip to main content

Documentation Index

Fetch the complete documentation index at: https://ona.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

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 support GitHub and GitLab only. Use a service account to separate Automation activity from human work.

Configuration

Pull request trigger configuration

Event source

Pull request triggers need an event source that delivers PR events from your Git provider to Ona. There are two options:
SourceWhen to use
GitHub AppYou use GitHub.com and have the Ona GitHub App installed. No extra setup — Ona receives PR events through the App.
WebhookYou use GitLab, or you prefer not to install the GitHub App. You create a webhook in Ona and register it in your Git provider.

GitHub App

If your organization has the Ona GitHub App installed, select GitHub App as the event source. Ona receives PR events directly through the App.

Webhook

If your organization has webhooks configured, 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