Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 13 additions & 19 deletions .github/workflows/pr-review-comprehensive.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: PR Review with Progress Tracking

# This example demonstrates how to use the track_progress feature to get
# visual progress tracking for PR reviews, similar to v0.x agent mode.
name: PR Review

on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
# Reviews need to be run manually:
# Trigger from the Actions tab or with `gh workflow run`
workflow_dispatch:
inputs:
pr_number:
description: "Pull request number to review"
required: true
type: number

jobs:
review-with-tracking:
review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 1

- name: PR Review with Progress Tracking
- name: PR Review
uses: anthropics/claude-code-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

# Enable progress tracking
track_progress: true

# Your custom review instructions
prompt: |
REPO: ${{ github.repository }}
PR NUMBER: ${{ github.event.pull_request.number }}
PR NUMBER: ${{ inputs.pr_number }}

Perform a comprehensive code review with the following focus areas:

Expand Down Expand Up @@ -66,9 +66,3 @@ jobs:
# Tools for comprehensive PR review
claude_args: |
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"

# When track_progress is enabled:
# - Creates a tracking comment with progress checkboxes
# - Includes all PR context (comments, attachments, images)
# - Updates progress as the review proceeds
# - Marks as completed when done