From bdfcf8041b0f964945e7094d8b9291a453d40ff6 Mon Sep 17 00:00:00 2001 From: ExWang <30236357+ExWang@users.noreply.github.com> Date: Thu, 30 Jul 2026 15:39:34 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20PR=20AI=20=E5=AE=A1=E6=9F=A5=20job=20time?= =?UTF-8?q?out=2030=20=E2=86=92=2060=20=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 大 PR(diff 大)时 AI 审查一遍会超过 30 分钟、被 job timeout 强制取消、拿不到结论(如一个 61 文件 / +6.8k 行的 PR 稳定卡 30 分钟)。审查时长由 diff 大小驱动、拆分不总可行,先给 pull_request_target(pr-review.yml) 与 /review 命令(pr-review-command.yml) 的 AI 审查 job 提到 60 分钟余量;只改 timeout、不动审查逻辑与门禁口径。 --- .github/workflows/pr-review-command.yml | 2 +- .github/workflows/pr-review.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-review-command.yml b/.github/workflows/pr-review-command.yml index 0815c5e38..aa5424b49 100644 --- a/.github/workflows/pr-review-command.yml +++ b/.github/workflows/pr-review-command.yml @@ -72,7 +72,7 @@ jobs: needs: authorize if: needs.authorize.outputs.matched == 'true' runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 60 container: image: ghcr.io/xiaomi/xiaomi-miloco/pr-review:trixie credentials: diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml index f796ada19..cb396e159 100644 --- a/.github/workflows/pr-review.yml +++ b/.github/workflows/pr-review.yml @@ -23,7 +23,7 @@ jobs: # 审所有非草稿 PR(pull_request_target 下 fork 也可用 secrets) if: github.event.pull_request.draft == false runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 60 container: image: ghcr.io/xiaomi/xiaomi-miloco/pr-review:trixie credentials: