name: Auto review PRs on: pull_request: types: [opened] jobs: auto-review: permissions: contents: read id-token: write runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 1 - name: Auto review PR uses: ./ with: github_token: ${{ secrets.GITHUB_TOKEN }} prompt: | Please review this PR and provide comprehensive feedback. Use the mcp__github_inline_comment__create_inline_comment tool to add inline comments on specific lines where you have feedback. In your review, provide thoughtful feedback on: - Code quality and best practices - Potential bugs or issues - Suggestions for improvements - Overall architecture and design decisions - Documentation consistency Be constructive and specific in your feedback. anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} claude_args: "--allowedTools mcp__github_inline_comment__create_inline_comment,Read,Grep,Glob"