From eb8b999ce5c6657bc0103ab0854b4754464f578d Mon Sep 17 00:00:00 2001 From: LanQin_ Date: Mon, 29 Jun 2026 14:51:16 +0800 Subject: [PATCH] =?UTF-8?q?ci(workflows):=20=E6=89=A9=E5=B1=95=20CI=20?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=97=B6=E7=9A=84=E5=BF=BD=E7=95=A5=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 push 和 pull_request 事件补充 docs、Issue 模板、发布配置、AI 评审忽略文件和 LICENSE 等路径的忽略规则。 - 同步为 AI PR Review 工作流增加相同的路径忽略,减少无关变更触发。 --- .github/workflows/ai-pr-review.yml | 8 ++++++++ .github/workflows/ci.yml | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/ai-pr-review.yml b/.github/workflows/ai-pr-review.yml index 5ee668e..c7ce463 100644 --- a/.github/workflows/ai-pr-review.yml +++ b/.github/workflows/ai-pr-review.yml @@ -5,6 +5,14 @@ on: branches: - main types: [opened, synchronize, reopened] + paths-ignore: + - "**/*.md" + - "docs/**" + - ".github/ISSUE_TEMPLATE/**" + - ".github/release.yml" + - ".ai-reviewignore" + - "LICENSE" + - "deploy/.env.example" issue_comment: types: [created] workflow_dispatch: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c2b97b..251cfa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,12 +6,22 @@ on: - main paths-ignore: - "**/*.md" + - "docs/**" + - ".github/ISSUE_TEMPLATE/**" + - ".github/release.yml" + - ".ai-reviewignore" + - "LICENSE" - "deploy/.env.example" pull_request: branches: - main paths-ignore: - "**/*.md" + - "docs/**" + - ".github/ISSUE_TEMPLATE/**" + - ".github/release.yml" + - ".ai-reviewignore" + - "LICENSE" - "deploy/.env.example" permissions: