From 7c2e23e4e356aaf6187f2d3a5850eba1e3d1c39d Mon Sep 17 00:00:00 2001 From: qiqi Date: Thu, 5 Nov 2026 11:55:17 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=A1=A5=20paths-ignore=EF=BC=88?= =?UTF-8?q?=E5=8F=AA=E6=94=B9=E6=96=87=E6=A1=A3/CI=20=E8=87=AA=E8=BA=AB?= =?UTF-8?q?=E4=B8=8D=E8=A7=A6=E5=8F=91=20validate=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HANDBOOK 第八节 8.2 第 3 条硬性要求:push 触发必须配 paths-ignore, 至少覆盖 **/*.md、docs/**、.github/**。本仓库此前只有 concurrency 与 timeout-minutes,缺这一条——插件目录 README 改动会白跑一次 validate。 --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8253025..825b7df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,11 @@ name: validate on: push: branches: [main] + # 只改文档/CI 自身不触发:额度按 job 分钟累计(HANDBOOK 第八节 8.2 第 3 条) + paths-ignore: + - '**/*.md' + - 'docs/**' + - '.github/**' pull_request: branches: [main] workflow_dispatch: