Commit 84d6d949d49 for woocommerce

commit 84d6d949d49670355351d5cc7657f5a2a58966b9
Author: Ján Mikláš <neosinner@gmail.com>
Date:   Tue Dec 1 15:24:32 2026 +0100

    Fix the docs check on trunk pushes (#71654)

    The Claude Code action rejects push events before it reads the PR diff. Its base action runs the same prompt and returns the verdict the documentation check consumes.

    Example failure
    https://github.com/woocommerce/woocommerce/actions/runs/46484780316/job/142081427933

diff --git a/.github/workflows/docs-needed-detection.yml b/.github/workflows/docs-needed-detection.yml
index 56719f65625..8b2b992b768 100644
--- a/.github/workflows/docs-needed-detection.yml
+++ b/.github/workflows/docs-needed-detection.yml
@@ -70,10 +70,11 @@ jobs:

       - name: 'Analyze Pull Request'
         id: analyze
-        uses: anthropics/claude-code-action@e90deca47693f9457b72f2b53c17d7c445a87342 # v1.0.171
+        uses: anthropics/claude-code-action/base-action@e90deca47693f9457b72f2b53c17d7c445a87342 # v1.0.171
+        env:
+          GH_TOKEN: ${{ github.token }}
         with:
           anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
-          github_token: ${{ secrets.GITHUB_TOKEN }}
           claude_args: >
             --allowedTools "Bash(gh pr diff *),Bash(gh pr view *)"
             --disallowedTools "Read,Glob,Grep,WebFetch,WebSearch,Edit,Write"