Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

refactor: simplify Claude Code Review workflow by removing external PR handling

Aldino Kemal931b209c763f
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml
index 92946f17..d02a26d0 100644
--- a/.github/workflows/claude-code-review.yml
+++ b/.github/workflows/claude-code-review.yml
@@ -1,7 +1,7 @@
name: Claude Code Review - Internal and External PRs
on:
- # Handle PRs from the same repository (internal PRs)
+ # Handle PRs
pull_request:
types: [opened, synchronize]
paths:
@@ -13,18 +13,6 @@ on:
- "src/views/**/*.js"
- "src/views/**/*.svg"
- # Handle PRs from external forks
- pull_request_target:
- types: [opened, synchronize]
- paths:
- - "src/**/*.go"
- - "go.mod"
- - "go.sum"
- - "src/views/**/*.html"
- - "src/views/**/*.css"
- - "src/views/**/*.js"
- - "src/views/**/*.svg"
-
jobs:
claude-review:
runs-on: ubuntu-latest
@@ -47,6 +35,7 @@ jobs:
uses: anthropics/claude-code-action@beta
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
+ github_token: ${{ secrets.GITHUB_TOKEN }}
# Optional: Specify model (defaults to Claude Sonnet 4, uncomment for Claude Opus 4)
# model: "claude-opus-4-20250514"