diff options
| author | hathach <[email protected]> | 2026-09-04 04:38:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-09-04 04:38:49 +0700 |
| commit | e8ac308461665f5e47ff45d61e4028f0ce99d934 (patch) | |
| tree | 958f94f3b23194243c28fade28832745dd46d818 | |
| parent | 1adfb1c74ff3cc6618a9b37e76ab2feadc09f8e8 (diff) | |
ci: one Claude review per PR at a time, at effort high
A new push now cancels the stale in-flight review instead of stacking a
second run on the same PR. Effort max on every synchronize is the only
place the routine review needs the top setting; high is the documented
default. Drop the transcript dump that was marked temporary.
| -rw-r--r-- | .github/workflows/claude-code-review.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index a9b026bfd..bc22c6f43 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -11,6 +11,10 @@ on: # those. Same-repo branches (yours or write-access contributors) auto-review. types: [opened, synchronize, reopened, ready_for_review] +concurrency: + group: claude-review-${{ github.event.pull_request.number }} + cancel-in-progress: true + jobs: claude-review: # Skip drafts, and skip fork PRs (no secrets -> would only fail noisily) @@ -50,9 +54,6 @@ jobs: # --comment makes the code-review command post its findings to the PR. # Without it the command only prints the review to the Actions log. prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }} --comment' - # TEMPORARY: expose the full Claude transcript in the Actions log for - # debugging. Revert to remove once done. - show_full_output: true # The headless review was blocked on two tools: compound Bash pipelines # (sed/python/grep) and Write (it dropped a check_headings.py helper to # inspect the diff). Default permission mode gates both; Read/Grep/Glob/ @@ -62,6 +63,6 @@ jobs: claude_args: | --max-turns 50 --model claude-opus-4-8 - --effort max + --effort high --allowedTools Bash,Write # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md |
