From f06690de06f9c1e24f1215001ac7f312526b3fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 6 Oct 2026 21:06:02 +0200 Subject: [PATCH 1/2] CI: Add claude-review action --- .github/workflows/claude-review.yml | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/claude-review.yml diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml new file mode 100644 index 00000000..968e7e71 --- /dev/null +++ b/.github/workflows/claude-review.yml @@ -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:*)" From 90868d789dd00b603404cfce19c159cb34b9be8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 6 Oct 2026 21:28:19 +0200 Subject: [PATCH 2/2] fix --- .github/workflows/CI-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI-windows.yml b/.github/workflows/CI-windows.yml index 0d1e62e2..e5c4e4b4 100644 --- a/.github/workflows/CI-windows.yml +++ b/.github/workflows/CI-windows.yml @@ -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 }}