Skip to content

Commit 97d13d7

Browse files
committed
Refine path constraint for the workflow
It should be triggered on any changes to .github and script folders
1 parent 1060a9b commit 97d13d7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/check-quickstartmodule.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@ on:
33
push:
44
branches:
55
- site
6+
paths:
7+
- assets/quick-start-module.js
8+
- _includes/quick-start-module.js
9+
- published_versions.json
10+
- scripts/**
11+
- .github/**
612
pull_request:
713
paths:
814
- assets/quick-start-module.js
915
- _includes/quick-start-module.js
1016
- published_versions.json
17+
- scripts/**
18+
- .github/**
1119

1220
jobs:
1321
check-regen:
@@ -26,6 +34,7 @@ jobs:
2634
CHANGES=$(git status --porcelain "assets/quick-start-module.js")
2735
echo "$CHANGES"
2836
[ -z "$CHANGES" ]
37+
2938
libtorch-downloadable:
3039
runs-on: ubuntu-18.04
3140
steps:

0 commit comments

Comments
 (0)