diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 3a388564a..b1be48e88 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -17,7 +17,6 @@ jobs: contents: read pull-requests: write issues: write - id-token: write steps: - name: Checkout repository @@ -53,6 +52,9 @@ jobs: uses: anthropics/claude-code-action@acfe7992852970efb4fee683d63d628e3e52df67 # v1.0.286 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + # The job's own token: the agent keeps this job's read-only contents permission instead of + # the Claude App token, which can push code. + github_token: ${{ github.token }} plugin_marketplaces: ${{ runner.temp }}/claude-plugins plugins: "code-review@wl-hopper-ci" prompt: |