From cb402e192eff99e3a6147773576a7a8cc9bfb0dd Mon Sep 17 00:00:00 2001 From: Minghao Li Date: Wed, 27 May 2026 00:08:49 +0800 Subject: [PATCH] ci: pass anthropic_api_key as action input (action.yml requires it) --- .github/workflows/claude-review.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index eb418be..5fff379 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -41,6 +41,10 @@ jobs: - name: Claude review uses: anthropics/claude-code-action@v1 with: + # action.yml defines anthropic_api_key as a `with:` input — the + # action's env validation checks the input, not the env var. The + # README's env-only example is incomplete for v1. + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} prompt: | You are reviewing a pull request in moose-lab/DevLog, a TypeScript / Next.js 16 / Bun developer-tools project (CLI + dashboard for Claude