ci(workflows): 扩展 CI 触发时的忽略路径

- 为 push 和 pull_request 事件补充 docs、Issue 模板、发布配置、AI 评审忽略文件和 LICENSE 等路径的忽略规则。
- 同步为 AI PR Review 工作流增加相同的路径忽略,减少无关变更触发。
This commit is contained in:
LanQin_
2026-06-29 14:51:16 +08:00
parent 6a30f8ac60
commit eb8b999ce5
2 changed files with 18 additions and 0 deletions
+8
View File
@@ -5,6 +5,14 @@ on:
branches: branches:
- main - main
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths-ignore:
- "**/*.md"
- "docs/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/release.yml"
- ".ai-reviewignore"
- "LICENSE"
- "deploy/.env.example"
issue_comment: issue_comment:
types: [created] types: [created]
workflow_dispatch: workflow_dispatch:
+10
View File
@@ -6,12 +6,22 @@ on:
- main - main
paths-ignore: paths-ignore:
- "**/*.md" - "**/*.md"
- "docs/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/release.yml"
- ".ai-reviewignore"
- "LICENSE"
- "deploy/.env.example" - "deploy/.env.example"
pull_request: pull_request:
branches: branches:
- main - main
paths-ignore: paths-ignore:
- "**/*.md" - "**/*.md"
- "docs/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/release.yml"
- ".ai-reviewignore"
- "LICENSE"
- "deploy/.env.example" - "deploy/.env.example"
permissions: permissions: