From ee402ff293a22b49a8807c83e9bab765639c25a1 Mon Sep 17 00:00:00 2001 From: Vladislav Panin Date: Mon, 9 Nov 2026 13:30:17 +0300 Subject: [PATCH] ci(claude): disable automatic PR reviews --- .claude/asp-pr.md | 4 ++-- .github/workflows/claude.yml | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.claude/asp-pr.md b/.claude/asp-pr.md index dba61f518..7cfc9c6bf 100644 --- a/.claude/asp-pr.md +++ b/.claude/asp-pr.md @@ -26,9 +26,9 @@ Checked by `.github/workflows/pr-checks.yml`; keep this file, the Pull request s restarts the jobs that are already halfway. Another label reruns the cheap checks after the running CI ends and skips the Unity tests that passed there. -## Review loop +## Review -The bot review rules with the verdict format are in `.github/claude-review.md`. +Request a Claude review with an `@claude` comment. The review rules and verdict format are in `.github/claude-review.md`. Logic paths: diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index d6873499c..a78f99d1c 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -1,10 +1,9 @@ name: Claude -# Two jobs: -# - review: one automatic review when a PR opens or leaves draft. -# We do not review every push to save subscription limits. -# Ask for a new review with an @claude comment. -# - mention: answers @claude comments in PRs and issues. +# Run Claude on explicit @claude mentions in PRs and issues. +# The inactive review job defines the shared steps and environment for the mention job. +# +# The mention job: # A requested review also leaves inline comments. # Comments from bots are ignored, so Claude's own replies do not start it again. # Only the owner, members and collaborators can start it (author_association). @@ -19,8 +18,6 @@ name: Claude # GitHub tokens stay in their environment, so `gh` works; keep the permissions of each job narrow. on: - pull_request: - types: [opened, ready_for_review] issue_comment: types: [created] pull_request_review_comment: