From a63ac01328befb0e03e91dc59a125562d1b35077 Mon Sep 17 00:00:00 2001 From: Bohdan Ohorodnii <273991985+varex83agent@users.noreply.github.com> Date: Wed, 15 Apr 2026 14:16:59 +0200 Subject: [PATCH] revert: ci: fix permissions and pass GITHUB_TOKEN for review comments (#333) Co-Authored-By: Bohdan Ohorodnii <35969035+varex83@users.noreply.github.com> --- .github/workflows/claude-code-review.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 526d4333..c3ca3296 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -14,7 +14,7 @@ jobs: permissions: contents: read pull-requests: write - issues: write + issues: read id-token: write steps: @@ -42,6 +42,5 @@ jobs: uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.CLAUDE_CODE_API_KEY }} - github_token: ${{ secrets.GITHUB_TOKEN }} track_progress: true prompt: '/review-pr ${{ github.event.pull_request.number || github.event.issue.number }}'