From ac13e6677432db959dea7ec80759330555b76c20 Mon Sep 17 00:00:00 2001 From: Tomasz Pietrek Date: Mon, 16 Mar 2026 13:02:21 +0100 Subject: [PATCH] Add CC reviews Signed-off-by: Tomasz Pietrek --- .github/workflows/claude.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/claude.yml diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml new file mode 100644 index 000000000..c95ad1b4f --- /dev/null +++ b/.github/workflows/claude.yml @@ -0,0 +1,28 @@ +name: Claude Code + +permissions: {} + +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + pull_request_target: + types: [opened, reopened] + +jobs: + claude: + uses: synadia-io/ai-workflows/.github/workflows/claude.yml@v2 + with: + gh_app_id: ${{ vars.CLAUDE_GH_APP_ID }} + checkout_mode: base + review_focus: | + Additionally focus on: + - Async/await correctness: cancellation token propagation, ValueTask usage, async disposal + - Memory and performance: buffer pooling, allocation pressure, span usage + - NATS protocol correctness: message serialization, header handling, JetStream ack semantics + - API surface compatibility: public API changes, backward compatibility, nullable annotations + - Thread safety in connection handling and subscription management + secrets: + claude_oauth_token: ${{ secrets.CLAUDE_OAUTH_TOKEN }} + gh_app_private_key: ${{ secrets.CLAUDE_GH_APP_PRIVATE_KEY }}