Skip to content

Commit 5f80ed8

Browse files
committed
Ignore node_modules in markdown lint
1 parent 1332a77 commit 5f80ed8

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ jobs:
3838
with:
3939
globs: |
4040
**/*.md
41+
!node_modules/**
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## [2026-05-09 11:22] | Task: 修复 Markdown lint 扫描范围
2+
3+
### Execution Context
4+
5+
- **Agent ID**: `Codex`
6+
- **Base Model**: `GPT-5`
7+
- **Runtime**: `Codex CLI`
8+
9+
### User Query
10+
11+
> 发布前后要验证,保持 GitHub CI 可用。
12+
13+
### Changes Overview
14+
15+
**Scope:** GitHub Actions CI.
16+
17+
**Key Actions:**
18+
19+
- **Markdown lint**: 在 workflow globs 中排除 `node_modules/**`,避免 lint
20+
第三方依赖包里的 README。
21+
22+
### Design Intent (Why)
23+
24+
CI 安装 JS 依赖后会生成 `node_modules`;仓库 Markdown lint 只应该检查本仓库
25+
文档,不应该把供应商依赖文档纳入门禁。
26+
27+
### Files Modified
28+
29+
- `.github/workflows/ci.yml`

0 commit comments

Comments
 (0)