Skip to content

Commit ae8d31b

Browse files
authored
[CI] Add paths filters (#503) (#505)
1 parent 9c83f1f commit ae8d31b

26 files changed

+306
-53
lines changed

.github/workflows/humble-abi-compatibility.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '**.yaml'
13+
- '.github/workflows/humble-abi-compatibility.yml'
14+
- '**/package.xml'
15+
- '**/CMakeLists.txt'
16+
- '**.xml'
717

818
concurrency:
919
# cancel previous runs of the same workflow, except for pushes on given branches branch

.github/workflows/humble-binary-build.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,21 @@
33

44
name: Humble - Binary Build
55
on:
6-
pull_request:
7-
branches:
8-
- humble
9-
push:
6+
pull_request: &event
107
branches:
118
- humble
9+
paths:
10+
- '**.hpp'
11+
- '**.h'
12+
- '**.cpp'
13+
- '**.py'
14+
- '**.yaml'
15+
- '.github/workflows/humble-binary-build.yml'
16+
- '**/package.xml'
17+
- '**/CMakeLists.txt'
18+
- 'control_toolbox-not-released.humble.repos'
19+
- '**.xml'
20+
push: *event
1221
schedule:
1322
# Run every day to detect flakiness and broken dependencies
1423
- cron: '28 6 * * MON-FRI'

.github/workflows/humble-build-coverage.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
name: Humble - Coverage Build
22
on:
33
workflow_dispatch:
4-
push:
5-
branches:
6-
- humble
7-
pull_request:
4+
pull_request: &event
85
branches:
96
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '**.yaml'
13+
- '.github/workflows/humble-build-coverage.yml'
14+
- '**/package.xml'
15+
- '**/CMakeLists.txt'
16+
- '**.xml'
17+
push: *event
1018

1119
concurrency:
1220
# cancel previous runs of the same workflow, except for pushes on given branches branch

.github/workflows/humble-build-downstream.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,18 @@ on:
66
pull_request:
77
branches:
88
- humble
9-
push:
10-
branches:
11-
- humble
9+
paths:
10+
- '**.hpp'
11+
- '**.h'
12+
- '**.cpp'
13+
- '**.py'
14+
- '**.yaml'
15+
- '.github/workflows/humble-build-downstream.yml'
16+
- '**/package.xml'
17+
- '**/CMakeLists.txt'
18+
- 'control_toolbox.humble.repos'
19+
- 'ros_controls.humble.repos'
20+
- '**.xml'
1221

1322
concurrency:
1423
# cancel previous runs of the same workflow, except for pushes on given branches branch

.github/workflows/humble-build-source.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
push:
55
branches:
66
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '**.yaml'
13+
- '.github/workflows/humble-build-source.yml'
14+
- '**/package.xml'
15+
- '**/CMakeLists.txt'
16+
- '**.xml'
717
pull_request:
818
branches:
919
- humble

.github/workflows/humble-debian-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ on:
44
pull_request:
55
branches:
66
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '**.yaml'
13+
- '.github/workflows/humble-debian-build.yml'
14+
- '**/package.xml'
15+
- '**/CMakeLists.txt'
16+
- 'control_toolbox.humble.repos'
17+
- '**.xml'
718
schedule:
819
# Run every day to detect flakiness and broken dependencies
920
- cron: '03 5 * * MON-FRI'

.github/workflows/humble-rhel-semi-binary-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ on:
44
pull_request:
55
branches:
66
- humble
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '**.yaml'
13+
- '.github/workflows/humble-rhel-semi-binary-build.yml'
14+
- '**/package.xml'
15+
- '**/CMakeLists.txt'
16+
- 'control_toolbox.humble.repos'
17+
- '**.xml'
718
schedule:
819
# Run every day to detect flakiness and broken dependencies
920
- cron: '03 3 * * MON-FRI'

.github/workflows/humble-semi-binary-build.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,21 @@
33

44
name: Humble - Semi-Binary Build
55
on:
6-
pull_request:
7-
branches:
8-
- humble
9-
push:
6+
pull_request: &event
107
branches:
118
- humble
9+
paths:
10+
- '**.hpp'
11+
- '**.h'
12+
- '**.cpp'
13+
- '**.py'
14+
- '**.yaml'
15+
- '.github/workflows/humble-semi-binary-build.yml'
16+
- '**/package.xml'
17+
- '**/CMakeLists.txt'
18+
- 'control_toolbox.humble.repos'
19+
- '**.xml'
20+
push: *event
1221
schedule:
1322
# Run every day to detect flakiness and broken dependencies
1423
- cron: '28 6 * * MON-FRI'

.github/workflows/jazzy-abi-compatibility.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
pull_request:
55
branches:
66
- jazzy
7+
paths:
8+
- '**.hpp'
9+
- '**.h'
10+
- '**.cpp'
11+
- '**.py'
12+
- '**.yaml'
13+
- '.github/workflows/jazzy-abi-compatibility.yml'
14+
- '**/package.xml'
15+
- '**/CMakeLists.txt'
16+
- '**.xml'
717

818
concurrency:
919
# cancel previous runs of the same workflow, except for pushes on given branches branch

.github/workflows/jazzy-binary-build.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,21 @@
33

44
name: Jazzy - Binary Build
55
on:
6-
pull_request:
7-
branches:
8-
- jazzy
9-
push:
6+
pull_request: &event
107
branches:
118
- jazzy
9+
paths:
10+
- '**.hpp'
11+
- '**.h'
12+
- '**.cpp'
13+
- '**.py'
14+
- '**.yaml'
15+
- '.github/workflows/jazzy-binary-build.yml'
16+
- '**/package.xml'
17+
- '**/CMakeLists.txt'
18+
- 'control_toolbox-not-released.jazzy.repos'
19+
- '**.xml'
20+
push: *event
1221
schedule:
1322
# Run every day to detect flakiness and broken dependencies
1423
- cron: '28 6 * * MON-FRI'

0 commit comments

Comments
 (0)