Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/CI-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- os: windows-2025
sln: slnx
- os: windows-11-arm
sln: sln
sln: slnx
fail-fast: false

runs-on: ${{ matrix.os }}
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Automated code review of pull requests using Claude
name: claude-review

on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]

jobs:
review:
if: github.event.pull_request.draft == false && github.event.pull_request.head.repo.full_name == github.repository

runs-on: ubuntu-24.04

permissions:
contents: read
pull-requests: write
id-token: write

steps:
- uses: actions/checkout@v7
with:
fetch-depth: 1

- name: Claude review
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
prompt: |
REPO: ${{ github.repository }}
PR NUMBER: ${{ github.event.pull_request.number }}

Review this pull request. Focus on correctness bugs, potential
false positives/false negatives in checkers, performance problems
and missing tests. Be concise and only report real issues.

Use `gh pr diff` to see the changes. Post specific issues as inline
comments with `mcp__github_inline_comment__create_inline_comment`
and post a short overall summary with `gh pr comment`.
claude_args: |
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"
Loading