Skip to content

Commit

Permalink
fix: 修复文档引入异常,优化流水线触发条件
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl committed Jul 29, 2024
1 parent 692ec6e commit 7d5aebb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
push:
branches:
- next
- refactor/deploy
workflow_dispatch:

# 环境变量
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ on:
pull_request:
branches:
- next
- refactor/dev
push:
branches:
- next
- refactor/dev

# 手动触发部署
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
pull_request:
branches:
- next
schedule:
- cron: '30 7 * * 3'
# schedule:
# - cron: '30 7 * * 3'

jobs:
analyze:
Expand Down
4 changes: 0 additions & 4 deletions docs/develop-skill/code-style/engineering-lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,13 @@ pnpm install markdownlint-cli -D

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

@[code js](~/.markdownlint.js)

### 配置忽略

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

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

@[code txt](~/.markdownlintignore)

### 使用

```bash
Expand Down

0 comments on commit 7d5aebb

Please sign in to comment.