Skip to content

Commit 4a831a8

Browse files
[CI] Add paths filters (#204)
1 parent b2f117b commit 4a831a8

26 files changed

+308
-44
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

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ name: Humble Binary Build
44

55
on:
66
workflow_dispatch:
7-
pull_request:
8-
branches:
9-
- humble
10-
push:
7+
pull_request: &event
118
branches:
129
- humble
10+
paths:
11+
- '**.hpp'
12+
- '**.h'
13+
- '**.cpp'
14+
- '**.py'
15+
- '**.yaml'
16+
- '.github/workflows/humble-binary-build.yml'
17+
- '**/package.xml'
18+
- '**/CMakeLists.txt'
19+
- 'kinematics_interface-not-released.humble.repos'
20+
- '**.xml'
21+
push: *event
1322
schedule:
1423
# Run every morning to detect flakiness and broken dependencies
1524
- cron: '03 1 * * MON-FRI'

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
name: Coverage Build - Humble
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-coverage-build.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

.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+
- 'kinematics_interface.humble.repos'
17+
- '**.xml'
718
schedule:
819
# Run every day to detect flakiness and broken dependencies
920
- cron: '33 2 * * 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+
- 'kinematics_interface.humble.repos'
17+
- '**.xml'
718
schedule:
819
# Run every day to detect flakiness and broken dependencies
920
- cron: '42 4 * * 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 @@ name: Humble Semi-Binary Build
33

44
on:
55
workflow_dispatch:
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+
- 'kinematics_interface.humble.repos'
19+
- '**.xml'
20+
push: *event
1221
schedule:
1322
# Run every morning to detect flakiness and broken dependencies
1423
- cron: '33 1 * * MON-FRI'

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ on:
77
pull_request:
88
branches:
99
- humble
10+
paths:
11+
- '**.hpp'
12+
- '**.h'
13+
- '**.cpp'
14+
- '**.py'
15+
- '**.yaml'
16+
- '.github/workflows/humble-semi-binary-downstream-build.yml'
17+
- '**/package.xml'
18+
- '**/CMakeLists.txt'
19+
- 'ros_controls.humble.repos'
20+
- 'kinematics_interface.humble.repos'
21+
- '**.xml'
1022

1123
concurrency:
1224
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/humble-source-build.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-source-build.yml'
14+
- '**/package.xml'
15+
- '**/CMakeLists.txt'
16+
- '**.xml'
717
pull_request:
818
branches:
919
- humble

.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

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ name: Jazzy - Binary Build
44

55
on:
66
workflow_dispatch:
7-
pull_request:
8-
branches:
9-
- jazzy
10-
push:
7+
pull_request: &event
118
branches:
129
- jazzy
10+
paths:
11+
- '**.hpp'
12+
- '**.h'
13+
- '**.cpp'
14+
- '**.py'
15+
- '**.yaml'
16+
- '.github/workflows/jazzy-binary-build.yml'
17+
- '**/package.xml'
18+
- '**/CMakeLists.txt'
19+
- 'kinematics_interface-not-released.jazzy.repos'
20+
- '**.xml'
21+
push: *event
1322
schedule:
1423
# Run every morning to detect flakiness and broken dependencies
1524
- cron: '03 1 * * MON-FRI'

0 commit comments

Comments
 (0)