Skip to content

Commit 79f77e6

Browse files
committed
Ignore nested node_modules in markdown lint
1 parent 5f80ed8 commit 79f77e6

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
with:
3939
globs: |
4040
**/*.md
41-
!node_modules/**
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:24] | Task: 排除嵌套 node_modules Markdown
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**: 将忽略规则从 `node_modules/**` 改为
20+
`**/node_modules/**`,覆盖 pnpm 在 workspace package 下创建的嵌套链接目录。
21+
22+
### Design Intent (Why)
23+
24+
pnpm 会在 package 目录下暴露 `node_modules` 链接;Markdown lint 需要排除所有
25+
层级的依赖目录。
26+
27+
### Files Modified
28+
29+
- `.github/workflows/ci.yml`

0 commit comments

Comments
 (0)