From e07dae063ddb181a7f9d2970bf118f5810fbfee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JasonXuDeveloper=20-=20=E5=82=91?= Date: Mon, 26 Jan 2026 20:39:13 +1100 Subject: [PATCH] fix(ci): add pull-requests write permission for Claude review comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude Code Action needs write permission to post review comments on PRs. Without this, the action can only read PR data but cannot post comments. Signed-off-by: JasonXuDeveloper - 傑 --- .github/workflows/claude-code-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index e1a58d52..4d3e3a80 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -12,7 +12,7 @@ on: permissions: contents: read - pull-requests: read + pull-requests: write issues: read jobs: @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - pull-requests: read + pull-requests: write issues: read id-token: write