Skip to content

Commit bb6e6a9

Browse files
committed
Trigger the workflows if the KiBot config changes
1 parent d1bfa66 commit bb6e6a9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/test1.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@ name: Simple KiBot CI/CD test
22

33
# Controls when the action will run. Triggers the workflow on push or pull request
44
# events but only for the master branch
5+
# If any of the listed file changes we run the workflow
56
on:
67
push:
78
branches: [ master ]
89
paths:
910
- 'kicad_ci_test.kicad_sch'
1011
- 'kicad_ci_test.kicad_pcb'
12+
- 'kicad_ci_test.kibot.yaml'
1113
- '.github/workflows/test1.yml'
1214
pull_request:
1315
branches: [ master ]
1416
paths:
1517
- 'kicad_ci_test.kicad_sch'
1618
- 'kicad_ci_test.kicad_pcb'
19+
- 'kicad_ci_test.kibot.yaml'
1720
- '.github/workflows/test1.yml'
1821

1922
# A workflow run is made up of one or more jobs that can run sequentially or in parallel

.github/workflows/test_subdir.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,21 @@ name: Sub-dir and sub-project KiBot CI/CD example
22

33
# Controls when the action will run. Triggers the workflow on push or pull request
44
# events but only for the master branch
5+
# If any of the listed file changes we run the workflow
56
on:
67
push:
78
branches: [ master ]
89
paths:
910
- 'test_subdir/test_subdir.kicad_sch'
1011
- 'test_subdir/test_subdir.kicad_pcb'
12+
- 'test_subdir/test_subdir.kibot.yaml'
1113
- '.github/workflows/test_subdir.yml'
1214
pull_request:
1315
branches: [ master ]
1416
paths:
1517
- 'test_subdir/test_subdir.kicad_sch'
1618
- 'test_subdir/test_subdir.kicad_pcb'
19+
- 'test_subdir/test_subdir.kibot.yaml'
1720
- '.github/workflows/test_subdir.yml'
1821

1922
# A workflow run is made up of one or more jobs that can run sequentially or in parallel

0 commit comments

Comments
 (0)