diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index b235d8e..4910275 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -49,8 +49,10 @@ jobs: - name: Run Claude Code Review id: claude-review uses: anthropics/claude-code-action@v1 + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} with: - anthropic_api_key: ${{ secrets.CLAUDE_GITHUB_ACTIONS_ANTHROPIC_KEY }} + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} track_progress: true prompt: | 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. diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index f45b85e..5dc7d2a 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -60,8 +60,10 @@ jobs: - name: Run Claude Code id: claude uses: anthropics/claude-code-action@v1 + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} with: - anthropic_api_key: ${{ secrets.CLAUDE_GITHUB_ACTIONS_ANTHROPIC_KEY }} + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} track_progress: true # This is an optional setting that allows Claude to read CI results on PRs