Skip to content

Commit 51357d7

Browse files
committed
[chore] CI 添加 paths-ignore,纯文档改动跳过编译测试
1 parent 94db70d commit 51357d7

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,24 @@ name: CI
33
on:
44
push:
55
branches: [main]
6+
paths-ignore:
7+
- '**.md'
8+
- 'docs/**'
9+
- 'LICENSE'
10+
- '.gitignore'
11+
- '.dockerignore'
12+
- 'docker/**'
13+
- 'docker-compose*.yml'
614
pull_request:
715
branches: [main]
16+
paths-ignore:
17+
- '**.md'
18+
- 'docs/**'
19+
- 'LICENSE'
20+
- '.gitignore'
21+
- '.dockerignore'
22+
- 'docker/**'
23+
- 'docker-compose*.yml'
824
workflow_dispatch:
925

1026
concurrency:

0 commit comments

Comments
 (0)