PR reviewer

Reviews open PRs for code quality, security, and test coverage. Watches CI, attempts automatic fixes for failures, and merges PRs that pass all criteria. The fastest automation in the loop.

Requires: GitHub. Set up integrations

How to use this template

  1. 1Click "Use this template" or create a new automation in Ona
  2. 2Set your trigger (manual, scheduled, or event-based)
  3. 3Copy each step below into the automation builder
  4. 4Customize the prompts for your specific use case

What this does

  • Fastest path from open PR to merged
  • Inline review comments on the diff
  • Auto-fixes CI failures with [ci-fix] commits
  • Enforces stories, tests, and issue-linking conventions

Workflow

Trigger

Scheduled run

Runs every 5 minutes against open PRs.

Prompt

Review the diff

Read the diff for code quality, conventions compliance, test coverage (E2E for interactive UI), Storybook stories, and security issues.

Shell Script

Fix CI failures

If CI fails, attempt a fix and push as a [ci-fix] commit.
Prompt

Comment or merge

Post inline review comments for issues. If CI passes and all threads are resolved, squash-merge and label the issue status:done.

More automations to explore.

Ready to try a template?

Start building with a free Ona account.

Copied to clipboard!

This website uses cookies to enhance the user experience. Read our cookie policy for more info.