Skip to content

Use built-in Claude /code-review for auto review - #19

Merged
AnnatarHe merged 1 commit into
mainfrom
cursor/claude-code-review-workflow-d06a
Oct 14, 2026
Merged

AnnatarHe merged 1 commit into
mainfrom
cursor/claude-code-review-workflow-d06a

Conversation

@AnnatarHe

@AnnatarHe AnnatarHe commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Updates .github/workflows/claude-code-review.yml so automatic Claude reviews follow the working rawback-app/web setup. The runner stays ubuntu-latest. No other files change.

What changed

  • Prompt is now the built-in /code-review high <PR#> --comment, instead of a free-form prompt that asked Claude to skim the diff and post with gh pr comment. That free-form path was posting "No issues found" after a few seconds.
  • Checkout uses actions/checkout@v7 with fetch-depth: 0 so the review can diff, log, and blame against the base branch.
  • Permissions are pull-requests: write and issues: write, plus checks, statuses, and actions: read.
  • show_full_output: true prints Claude's messages in the job log.
  • Allowed tools are Bash(gh:*), Bash(git:*), and mcp__github_inline_comment__create_inline_comment, with additional_permissions for actions: read.
  • Concurrency group claude-review-<PR number> cancels an in-progress review when a new push arrives.
  • Drafts and bot PRs (release-please) are skipped. Reviews also run on ready_for_review and reopened.
  • An "Assert the review actually ran" step fails the job when Claude spent 0 turns and $0, and warns when no subagents were launched.
  • CLAUDE_CODE_DISABLE_BACKGROUND_TASKS was not set here, so nothing was removed.
  • Comments that pointed at another repository's pull request were rewritten for this repo. The note that the repository is private was dropped, because this repository is public.

The review run on this pull request may be skipped, because the workflow file differs from the default branch. That is expected.

Open in Web Open in Cursor 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Replace the free-form prompt that was posting "No issues found" after a
few seconds with the built-in high-effort review, full history, and a
check that the run actually did work.

Co-authored-by: Le He <Annatar.He+github@gmail.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@AnnatarHe
AnnatarHe merged commit 546d2bf into main Oct 14, 2026
3 checks passed
@AnnatarHe
AnnatarHe deleted the cursor/claude-code-review-workflow-d06a branch October 14, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants