Skip to content

Commit b78f2c8

Browse files
authored
Merge pull request #115 from zenml-io/bug/add-anthropic-env-var
2 parents 05bbea3 + 50408cd commit b78f2c8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ jobs:
4949
- name: Run Claude Code Review
5050
id: claude-review
5151
uses: anthropics/claude-code-action@v1
52+
env:
53+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
5254
with:
53-
anthropic_api_key: ${{ secrets.CLAUDE_GITHUB_ACTIONS_ANTHROPIC_KEY }}
55+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
5456
track_progress: true
5557
prompt: |
5658
You are reviewing code changes for a React component library with git diffs included in the prompt. Focus on ensuring the changes are sound, clean, intentional, and void of regressions.

.github/workflows/claude.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ jobs:
6060
- name: Run Claude Code
6161
id: claude
6262
uses: anthropics/claude-code-action@v1
63+
env:
64+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
6365
with:
64-
anthropic_api_key: ${{ secrets.CLAUDE_GITHUB_ACTIONS_ANTHROPIC_KEY }}
66+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
6567
track_progress: true
6668

6769
# This is an optional setting that allows Claude to read CI results on PRs

0 commit comments

Comments
 (0)