File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,15 @@ name: Publish_Any_Commit
2
2
on :
3
3
push :
4
4
branches : [main]
5
+ paths :
6
+ - ' packages/components/**'
7
+ - ' packages/theme-generator/**'
5
8
pull_request :
6
9
branches : [main]
10
+ paths :
11
+ - ' packages/components/**'
12
+ - ' packages/theme-generator/**'
13
+ - ' site/**'
7
14
8
15
jobs :
9
16
build :
Original file line number Diff line number Diff line change 1
1
name : PUBLISH_COMPONENTS
2
2
3
3
on :
4
- push :
5
- branches : [main]
6
4
pull_request :
7
5
types : [closed]
8
-
6
+ paths :
7
+ - packages/components/package.json
9
8
jobs :
10
9
modify-components :
10
+ if : github.repository == 'Tencent/tdesign' && github.event.pull_request.merged
11
11
runs-on : ubuntu-latest
12
12
outputs :
13
13
components-changed : ${{ steps.components-changed.outputs.changed }}
Original file line number Diff line number Diff line change 1
1
name : MAIN_PULL_REQUEST
2
2
3
3
on :
4
- push :
5
- branches : [main]
6
4
pull_request :
7
5
types : [closed]
6
+ paths :
7
+ - ' services/**'
8
8
9
9
jobs :
10
10
modify-services :
11
- if : github.repository == 'Tencent/tdesign'
11
+ if : github.repository == 'Tencent/tdesign' && github.event.pull_request.merged
12
12
runs-on : ubuntu-latest
13
13
outputs :
14
14
services-changed : ${{ steps.services-changed.outputs.changed }}
You can’t perform that action at this time.
0 commit comments