Skip to content

Commit 3f2a39e

Browse files
committed
ci: scope workflow triggers to relevant path changes only
1 parent cc25066 commit 3f2a39e

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ on:
55
branches: [ phoenix, main ]
66
tags:
77
- 'v*.*.*'
8+
paths:
9+
- 'Controller/**'
10+
- 'app/**'
11+
- '.github/workflows/ci.yml'
812
pull_request:
913
branches: [ phoenix, main ]
14+
paths:
15+
- 'Controller/**'
16+
- 'app/**'
17+
- '.github/workflows/ci.yml'
1018

1119
jobs:
1220
version:

.github/workflows/unit_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,22 @@ name: Unit Tests
33
on:
44
push:
55
branches: [ phoenix, main ]
6+
paths:
7+
- 'Controller/main/InverseKinematics.cpp'
8+
- 'Controller/main/AxisScaling.cpp'
9+
- 'Controller/main/MotionCueing.cpp'
10+
- 'Controller/include/**'
11+
- 'tests/**'
12+
- '.github/workflows/unit_tests.yml'
613
pull_request:
714
branches: [ phoenix, main ]
15+
paths:
16+
- 'Controller/main/InverseKinematics.cpp'
17+
- 'Controller/main/AxisScaling.cpp'
18+
- 'Controller/main/MotionCueing.cpp'
19+
- 'Controller/include/**'
20+
- 'tests/**'
21+
- '.github/workflows/unit_tests.yml'
822

923
jobs:
1024
unit-tests:

0 commit comments

Comments
 (0)