Documentation

Install Juror on a pull request

Use the Marketplace or a direct workflow path. Start with a safe event, least privilege, and a dry run before making the review required.

Direct answer

Use the Marketplace or a direct workflow path. Start with a safe event, least privilege, and a dry run before making the review required.

01Prerequisites
02Workflow
03Expected comment

How it works

Start from a pinned, least-privilege workflow.

The action reference uses a released commit SHA. Store provider keys in GitHub secrets and inspect the first review before you require it.

name: Juror review
on:
  pull_request:
    types: [opened, synchronize, reopened]

permissions:
  contents: read
  pull-requests: write

jobs:
  review:
    if: github.event.pull_request.head.repo.fork == false
    runs-on: ubuntu-latest
    steps:
      - uses: Juror-AI/juror@3eb0c88ce1931dd6227d554b2d9707ee4bca123f
        with:
          github-token: ${{ github.token }}
          preset: balanced
          cost-target-usd: "4.00"

How it works

Use the Marketplace or a direct workflow path. Start with a safe event, least privilege, and a dry run before making the review required.

For install juror on a pull request, use the published configuration and source repository as the product record. Keep the workflow small enough to inspect, and record any exception in the pull request rather than assuming a model result is final.

Limits to keep in view

Models, providers, and benchmark conditions change. Juror does not replace code ownership, test suites, static analysis, or a human decision to merge. Treat unknown cost and unevaluated compatibility as explicit unknowns.