Claude auto PR review
Copied from the official Solutions Guide basic example (prompt shortened).
pull_request: opened, synchronize
Est. cost per run~$0.18Checked Oct 16, 2026
Not executedJust shippedOur pick for the best security, implementation, and planning skills.Best skills for each job.See the picks →
Workflows
GitHub Actions you can paste into a repo. Filter by the coding agent that runs and by what starts the run, then open a workflow for the YAML and the setup.
24 workflows
Copied from the official Solutions Guide basic example (prompt shortened).
pull_request: opened, synchronize
Est. cost per run~$0.18Checked Oct 16, 2026
Not executed`track_progress: true` posts a checkbox tracking comment (per Solutions Guide).
pull_request: opened, synchronize, ready_for_review, reopened
Est. cost per run~$0.22Checked Oct 16, 2026
Not executedNo `prompt` → the action runs in tag/interactive mode and responds to the comment. `trigger_phrase` default is `@claude` (usage.md).
issue_comment / pull_request_review_comment containing @claude
Est. cost per run~$0.27Checked Oct 16, 2026
Not executed· 1 caveat`label_trigger`: 'The label name that triggers the action when applied to an issue' (usage.md).
issues: labeled (label_trigger)
Est. cost per run~$0.69Checked Oct 16, 2026
Not executed· 1 caveat`assignee_trigger`: username that triggers on issue assignment.
issues: assigned (assignee_trigger)
Est. cost per run~$0.69Checked Oct 16, 2026
Not executed· 1 caveatRequires `scripts/gh.sh` and `scripts/edit-issue-labels.sh` copied from the action repo's scripts/ dir (per Solutions Guide).
issues: opened
Est. cost per run~$0.06Checked Oct 16, 2026
Not executed· 1 caveatPattern from Solutions Guide 'Review Only Specific File Paths'; paths are examples.
pull_request with paths filter
Est. cost per run~$0.18Checked Oct 16, 2026
Not executed· 1 caveat`use_sticky_comment` keeps one updatable comment (usage.md).
pull_request: opened, synchronize
Est. cost per run~$0.22Checked Oct 16, 2026
Not executedBased on Solutions Guide 'Scheduled Repository Maintenance'.
schedule (cron) + workflow_dispatch
Est. cost per run~$0.44Checked Oct 16, 2026
Not executed· 1 caveatBased on Solutions Guide 'Documentation Sync on API Changes'.
pull_request with paths: src/api/**
Est. cost per run~$0.35Checked Oct 16, 2026
Not executed· 1 caveat`additional_permissions` 'Currently supports actions: read' (usage.md).
workflow_run: completed (failure)
Est. cost per run~$0.35Checked Oct 16, 2026
Not executed· 1 caveatSets a required status check that fails until a human approves any pull request containing agent-authored commits. It runs from the default branch, so a PR cannot edit the check to approve itself. Approvals are re-read on new pushes or an /approve comment.
pull_request_target: opened, synchronize, reopened, ready_for_review (re-checked on new PR replies)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatWhen CI fails on a pull request, Claude reads the failure logs, makes a fix, and pushes it to a new branch for you to review. The upstream file warns that it runs PR code with write permissions, so use it only on trusted branches.
workflow_run: CI completed (failure)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatThe standard @claude assistant for issues, PR comments and reviews, but it signs in with GitHub OIDC (Workload Identity Federation) instead of a long-lived ANTHROPIC_API_KEY secret. It needs a one-time federation setup in the Claude Console.
issue_comment / pull_request_review_comment containing @claude (+ issues: opened, assigned; reviews)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatWhen a new issue is opened, Claude searches existing issues for duplicates. If it finds one, it comments with a link and applies a duplicate label.
issues: opened
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatA manual workflow you start from the Actions tab. Claude either summarizes the latest commit or security-reviews it, depending on the option you pick.
workflow_dispatch (manual: summarize-commit or security-review)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatClaude reviews each pull request and leaves inline comments on specific lines, with a progress-tracking comment that updates while the review runs.
pull_request: opened, synchronize, ready_for_review, reopened
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatRuns a Claude PR review only for pull requests from authors you list, for example external contributors. Everyone else's PRs are skipped.
pull_request: opened, synchronize (selected authors only)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatWhen CI fails, Claude uses structured output to decide whether the failure looks flaky. Flaky runs are retried automatically; real failures are left for a human.
workflow_run: CI completed (failure)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatMention @claude in an issue, a PR comment or a review and Claude responds or makes the requested change. This is Firezone's production setup.
issue_comment / pull_request_review_comment containing @claude (+ issues: opened; reviews)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatLabel an issue agent:spec and Claude drafts a spec file for it and opens it as a draft pull request for review.
issues: labeled == agent:spec (+ workflow_dispatch)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatMention @claude in an issue, a PR comment or a review and Claude responds or makes the requested change. This is the Pulumi registry's production setup.
issue_comment / pull_request_review_comment containing @claude (+ issues: opened, assigned; reviews)
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatLabel an issue agent:ready and Claude implements it and opens a pull request. The labels move to agent:running while it works.
issues: labeled == agent:ready
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveatWhen CI fails on a pull request that has the auto-fix label, Claude pushes a fix commit to the branch. The number of auto-fix attempts per branch is capped.
workflow_run: CI completed (failure), opted-in PRs only
Est. cost per runUnknown (not estimated)Checked Oct 17, 2026
Not executed· 1 caveat