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
8 changes: 5 additions & 3 deletions .github/workflows/claude-auto-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v5
with:
fetch-depth: 0 # Full history for better diff analysis

- name: Automatic PR Review
id: claude-review
uses: anthropics/claude-code-action@v1-dev
Expand All @@ -45,7 +45,7 @@ jobs:
# github_token not needed - uses default GITHUB_TOKEN for GitHub operations
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# Use just one comment to deliver PR comments (only applies for pull_request event workflows)
# use_sticky_comment: true
use_sticky_comment: true
# Enable commit signing using GitHub's commit signature verification. When false, Claude uses standard git commands
# use_commit_signing: true
claude_args: |
Expand All @@ -54,7 +54,7 @@ jobs:
--system-prompt "You are a senior engineer focused on code quality. You are a performance optimization expert. Focus on identifying bottlenecks and suggesting improvements."
--allowedTools "Task,Bash,Glob,Grep,LS,ExitPlanMode,Read,Edit,MultiEdit,Write,NotebookEdit,TodoWrite,BashOutput,KillBash,mcp__github_inline_comment__create_inline_comment,mcp__github_ci__get_ci_status,mcp__github_ci__get_workflow_run_details,mcp__github_ci__download_job_log,mcp__github_comment__update_claude_comment,mcp__github__add_comment_to_pending_review,mcp__github__create_and_submit_pull_request_review,mcp__github__create_issue,mcp__github__create_or_update_file,mcp__github__create_pending_pull_request_review,mcp__github__delete_pending_pull_request_review,mcp__github__download_workflow_run_artifact,mcp__github__get_code_scanning_alert,mcp__github__get_commit,mcp__github__get_dependabot_alert,mcp__github__get_file_contents,mcp__github__get_job_logs,mcp__github__get_me,mcp__github__get_pull_request,mcp__github__get_pull_request_comments,mcp__github__get_pull_request_diff,mcp__github__get_pull_request_files,mcp__github__get_pull_request_reviews,mcp__github__get_pull_request_status,mcp__github__get_secret_scanning_alert,mcp__github__get_workflow_run,mcp__github__get_workflow_run_logs,mcp__github__list_branches,mcp__github__list_code_scanning_alerts,mcp__github__list_commits,mcp__github__list_dependabot_alerts,mcp__github__list_pull_requests,mcp__github__list_secret_scanning_alerts,mcp__github__list_workflow_jobs,mcp__github__list_workflow_run_artifacts,mcp__github__list_workflow_runs,mcp__github__list_workflows,mcp__github__merge_pull_request,mcp__github__push_files,mcp__github__rerun_failed_jobs,mcp__github__rerun_workflow_run,mcp__github__run_workflow,mcp__github__search_code,mcp__github__search_pull_requests,mcp__github__submit_pending_pull_request_review,mcp__github__update_pull_request,mcp__github__update_pull_request_branch,ListMcpResourcesTool,ReadMcpResourceTool"
--disallowedTools WebSearch,WebFetch

# Disabled: creates a mess to review. Inline suggestions are often broken
# Use GitHub's suggestion format when proposing code changes.
# Use inline comments to highlight specific areas of concern.
Expand Down Expand Up @@ -104,3 +104,5 @@ jobs:

Be constructive, thorough, and provide specific actionable feedback.
Provide severity ratings (Critical/High/Medium/Low) for any issues found.
Your review must be added to PR into sticky comment. If PR has several comments by claude, choose latest one.
After finishing with review, either approve PR or request fixes if there are issues.