From 1d172dca212808664f83b58fd1ef29c678824d9c Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Thu, 12 Mar 2026 12:20:50 -0400 Subject: [PATCH] Fix claude-code-action CI failures Use pull_request_target to ensure secrets are available, and pass github_token explicitly to avoid the OIDC token exchange flow. See https://github.com/anthropics/claude-code-action/issues/649 AI tools were used in preparing this commit. --- .github/workflows/claude-review.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/claude-review.yml b/.github/workflows/claude-review.yml index c6c326dc2a1..0d6d6451860 100644 --- a/.github/workflows/claude-review.yml +++ b/.github/workflows/claude-review.yml @@ -18,6 +18,7 @@ jobs: - uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} prompt: | REPO: ${{ github.repository }} PR NUMBER: ${{ github.event.pull_request.number }}