File tree Expand file tree Collapse file tree 5 files changed +98
-18
lines changed Expand file tree Collapse file tree 5 files changed +98
-18
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ name: JSON Library Sorter and Doc Gen
33on :
44 workflow_dispatch :
55 push :
6+ branches :
7+ - " main"
68 paths :
7- - ' library/library.json'
8- - ' .github/workflows/json_librarian.yml'
9- - ' .github/workflows/scripts/library_doc/**'
9+ - " library/library.json"
10+ - " .github/workflows/json_librarian.yml"
11+ - " .github/workflows/scripts/library_doc/**"
1012
1113jobs :
1214 librarian :
Original file line number Diff line number Diff line change @@ -3,13 +3,17 @@ name: Validate JSONs
33on :
44 workflow_dispatch :
55 push :
6+ branches :
7+ - " main"
68 paths :
7- - ' library/**'
8- - ' .github/workflows/json*.yml'
9+ - " library/**"
10+ - " .github/workflows/json*.yml"
911 pull_request :
12+ branches :
13+ - " main"
1014 paths :
11- - ' library/**'
12- - ' .github/workflows/json*.yml'
15+ - " library/**"
16+ - " .github/workflows/json*.yml"
1317
1418jobs :
1519 verify-json-validation :
2125 with :
2226 schema : library/schema.json
2327 files : library/library.json
24-
You can’t perform that action at this time.
0 commit comments