From 069c1ea970077e32f784d9609447b6afabb693ec Mon Sep 17 00:00:00 2001 From: CloudGPU <129925370+mrhy7176@users.noreply.github.com> Date: Thu, 29 Oct 2026 13:31:14 +0800 Subject: [PATCH] =?UTF-8?q?chore(ci):=20Claude=20Code=20=E5=85=A8=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=20PR=20+=20=E8=87=AA=E5=8A=A8=E5=90=88=E5=B9=B6?= =?UTF-8?q?=EF=BC=88claude.yml=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/claude.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 00e08a0..5bc1b03 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -24,11 +24,6 @@ on: pull_request_review: types: [submitted] -# 同一个 issue / PR 一次只跑一个,后来的排队,不并发烧额度 -concurrency: - group: claude-${{ github.event.issue.number || github.event.pull_request.number }} - cancel-in-progress: false - jobs: claude: if: | @@ -38,6 +33,11 @@ jobs: (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) ) + # 同一个 issue / PR 一次只跑一个,后来的排队,不并发烧额度。 + # 放在 job 级别:Claude 自己的回帖触发的 run 会被 if 跳过,不会占队列把你的下一条 @claude 挤掉。 + concurrency: + group: claude-${{ github.event.issue.number || github.event.pull_request.number }} + cancel-in-progress: false runs-on: ubuntu-latest timeout-minutes: 30 permissions: