Skip to content

Commit 7d5aebb

Browse files
committed
fix: 修复文档引入异常,优化流水线触发条件
1 parent 692ec6e commit 7d5aebb

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-9
lines changed

.github/workflows/CD.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
push:
1010
branches:
1111
- next
12-
- refactor/deploy
1312
workflow_dispatch:
1413

1514
# 环境变量

.github/workflows/CI.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ on:
1010
pull_request:
1111
branches:
1212
- next
13-
- refactor/dev
1413
push:
1514
branches:
1615
- next
17-
- refactor/dev
1816

1917
# 手动触发部署
2018
workflow_dispatch:

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
pull_request:
66
branches:
77
- next
8-
schedule:
9-
- cron: '30 7 * * 3'
8+
# schedule:
9+
# - cron: '30 7 * * 3'
1010

1111
jobs:
1212
analyze:

docs/develop-skill/code-style/engineering-lint.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,13 @@ pnpm install markdownlint-cli -D
5555

5656
在项目根目录新建`.markdownlint.js`文件,配置markdown的一些规则,例如:
5757

58-
@[code js](~/.markdownlint.js)
59-
6058
### 配置忽略
6159

6260
由于`**/*.md`是匹配项目中所有markdown文档,很明显存在有些目录时不需要校验的,例如:`node_modules`目录,因此非常有必要配置`markdownlint-cli`
6361
的忽略文件`.markdownlintignore`,避免校验不必要的文档。
6462

6563
在项目根目录新建`.markdownlintignore`文件,配置markdown的忽略规则,例如:
6664

67-
@[code txt](~/.markdownlintignore)
68-
6965
### 使用
7066

7167
```bash

0 commit comments

Comments
 (0)