Skip to content

Code Review

Code Review #9

Workflow file for this run

name: Code Review
on:
issue_comment:
types: [created]
permissions:
contents: read
pull-requests: write
id-token: write
jobs:
review:
if: github.event.issue.pull_request && contains(github.event.comment.body, '/review')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: "Review this pull request for code quality, correctness, and security. Analyze the diff, then post your findings as inline review comments."
claude_args: "--max-turns 20 --model claude-sonnet-4-6"
include_fix_links: true
classify_inline_comments: false
show_full_output: true