From 125353c5a3629a53a3836a0b3c3d6b1a0aee5d05 Mon Sep 17 00:00:00 2001 From: Phantom <59059173+EurFelux@users.noreply.github.com> Date: Wed, 10 Sep 2025 20:51:59 +0800 Subject: [PATCH] fix: don't review on draft pr (#10084) --- .github/workflows/claude-code-review.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 20bf26c8b..5ed414b1f 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -14,7 +14,9 @@ jobs: claude-review: # Only trigger code review for PRs from the main repository due to upstream OIDC issues # https://github.com/anthropics/claude-code-action/issues/542 - if: github.event.pull_request.head.repo.full_name == github.repository + if: | + (github.event.pull_request.head.repo.full_name == github.repository) && + (github.event.pull_request.draft == false) runs-on: ubuntu-latest permissions: contents: read