Skip to content

Commit c744117

Browse files
chore(ci): 优化ci运行,增加运行条件减少运行次数 (#866)
chore(ci): 优化ci运行,减少没用的运行 Co-authored-by: Luozf <35024333+Luozf12345@users.noreply.github.com>
1 parent b581da4 commit c744117

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/autofix.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: autofix.ci
22
on:
33
pull_request:
44
branches: [develop]
5+
paths-ignore:
6+
- "tdesign-site/**"
7+
- "tdesign-adaptation/**"
8+
- "*.md"
59

610
concurrency:
711
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/test-build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@ name: test-build
33
on:
44
pull_request:
55
branches: [develop]
6-
types: [opened, synchronize, reopened]
6+
paths-ignore:
7+
- "tdesign-site/**"
8+
- "tdesign-adaptation/**"
9+
- "*.md"
710
push:
811
branches: [develop]
12+
paths-ignore:
13+
- "tdesign-site/**"
14+
- "tdesign-adaptation/**"
15+
- "*.md"
916

1017
concurrency:
1118
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)