Skip to content

Commit d785b45

Browse files
committed
chore: remove deprecated Claude Code Router setup and update API keys in workflows
1 parent ad6accd commit d785b45

File tree

2 files changed

+6
-50
lines changed

2 files changed

+6
-50
lines changed

.github/workflows/claude-review.yml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,13 @@ jobs:
2222
with:
2323
bun-version: latest
2424

25-
- run: |
26-
COPILOT_TOKEN=${{ secrets.COPILOT_TOKEN }} nohup bunx gh-copilot-proxy@latest &
27-
shell: bash
28-
29-
- name: Setup Claude Code Router config
30-
run: |
31-
mkdir -p $HOME/.claude-code-router
32-
cat << 'EOF' > $HOME/.claude-code-router/config.json
33-
{
34-
"log": true,
35-
"OPENAI_API_KEY": "empty",
36-
"OPENAI_BASE_URL": "http://localhost:6229",
37-
"OPENAI_MODEL": "claude-sonnet-4"
38-
}
39-
EOF
40-
41-
- name: Start Claude Code Router
42-
run: |
43-
nohup bunx @musistudio/claude-code-router@latest start &
44-
shell: bash
45-
4625
- name: Automatic PR Review
4726
uses: anthropics/claude-code-action@beta
4827
env:
49-
ANTHROPIC_BASE_URL: http://localhost:3456
28+
ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }}
5029
with:
51-
anthropic_api_key: "empty"
52-
model: claude-sonnet-4
53-
timeout_minutes: 10
30+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
31+
model: gpt-4.1
5432
direct_prompt: |
5533
Please review this pull request and provide comprehensive feedback.
5634

.github/workflows/claude.yml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,11 @@ jobs:
3434
with:
3535
bun-version: latest
3636

37-
- run: |
38-
COPILOT_TOKEN=${{ secrets.COPILOT_TOKEN }} nohup bunx gh-copilot-proxy@latest &
39-
shell: bash
40-
41-
- name: Setup Claude Code Router config
42-
run: |
43-
mkdir -p $HOME/.claude-code-router
44-
cat << 'EOF' > $HOME/.claude-code-router/config.json
45-
{
46-
"log": true,
47-
"OPENAI_API_KEY": "empty",
48-
"OPENAI_BASE_URL": "http://localhost:6229",
49-
"OPENAI_MODEL": "claude-sonnet-4"
50-
}
51-
EOF
52-
53-
- name: Start Claude Code Router
54-
run: |
55-
nohup bunx @musistudio/claude-code-router@latest start &
56-
shell: bash
57-
5837
- name: Automatic PR Review
5938
uses: anthropics/claude-code-action@beta
6039
env:
61-
ANTHROPIC_BASE_URL: http://localhost:3456
40+
ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }}
6241
with:
63-
anthropic_api_key: "empty"
64-
model: claude-sonnet-4
65-
timeout_minutes: 10
42+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
43+
model: gpt-4.1
6644
custom_instructions: "Always answer in Korean."

0 commit comments

Comments
 (0)