File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed
Expand file tree Collapse file tree 2 files changed +15
-10
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- - ' custom_components/battery_notes/data/library.json'
8- - ' .github/workflows/json_librarian.yml'
9- - ' .github/workflows/scripts/library_doc/**'
9+ - " custom_components/battery_notes/data/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,15 +3,19 @@ name: Validate JSONs
33on :
44 workflow_dispatch :
55 push :
6+ branches :
7+ - " main"
68 paths :
7- - ' custom_components/battery_notes/schema.json'
8- - ' custom_components/battery_notes/data/**'
9- - ' .github/workflows/json*.yml'
9+ - " custom_components/battery_notes/schema.json"
10+ - " custom_components/battery_notes/data/**"
11+ - " .github/workflows/json*.yml"
1012 pull_request :
13+ branches :
14+ - " main"
1115 paths :
12- - ' custom_components/battery_notes/schema.json'
13- - ' custom_components/battery_notes/data/**'
14- - ' .github/workflows/json*.yml'
16+ - " custom_components/battery_notes/schema.json"
17+ - " custom_components/battery_notes/data/**"
18+ - " .github/workflows/json*.yml"
1519
1620jobs :
1721 verify-json-validation :
2327 with :
2428 schema : custom_components/battery_notes/schema.json
2529 files : custom_components/battery_notes/data/library.json
26-
You can’t perform that action at this time.
0 commit comments