Skip to content

Commit 2ca19b7

Browse files
[CI] Add paths filters (#263)
1 parent c062973 commit 2ca19b7

File tree

7 files changed

+62
-17
lines changed

7 files changed

+62
-17
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ on:
77
pull_request:
88
branches:
99
- humble
10+
paths:
11+
- '**.action'
12+
- '**.msg'
13+
- '**.srv'
14+
- '.github/workflows/humble-binary-downstream-build.yml'
15+
- '**/package.xml'
16+
- '**/CMakeLists.txt'
17+
- 'ros_controls.humble.repos'
1018

1119
concurrency:
1220
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/humble-build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ 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+
- '**.action'
12+
- '**.msg'
13+
- '**.srv'
14+
- '.github/workflows/humble-build.yml'
15+
- '**/package.xml'
16+
- '**/CMakeLists.txt'
17+
push: *event
1318
schedule:
1419
# Run every morning to detect flakiness and broken dependencies
1520
- cron: '28 6 * * MON-FRI'

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ on:
77
pull_request:
88
branches:
99
- jazzy
10+
paths:
11+
- '**.action'
12+
- '**.msg'
13+
- '**.srv'
14+
- '.github/workflows/jazzy-binary-downstream-build.yml'
15+
- '**/package.xml'
16+
- '**/CMakeLists.txt'
17+
- 'ros_controls.jazzy.repos'
1018

1119
concurrency:
1220
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/jazzy-build.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
name: Jazzy Binary Build
22
# author: Denis Štogl <[email protected]>
3-
# description: 'Build & test all dependencies from released (binary) packages.'
3+
# description: Build & test all dependencies from released (binary) packages.
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+
- '**.action'
12+
- '**.msg'
13+
- '**.srv'
14+
- '.github/workflows/jazzy-build.yml'
15+
- '**/package.xml'
16+
- '**/CMakeLists.txt'
17+
push: *event
1318
schedule:
1419
# Run every morning to detect flakiness and broken dependencies
1520
- cron: '28 6 * * MON-FRI'

.github/workflows/rolling-binary-downstream-build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ on:
77
pull_request:
88
branches:
99
- master
10+
paths:
11+
- '**.action'
12+
- '**.msg'
13+
- '**.srv'
14+
- '.github/workflows/rolling-binary-downstream-build.yml'
15+
- '**/package.xml'
16+
- '**/CMakeLists.txt'
17+
- 'ros_controls.kilted.repos'
18+
- 'ros_controls.rolling.repos'
1019

1120
concurrency:
1221
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/rolling-build-win.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ name: Rolling Windows Binary Build
44

55
on:
66
workflow_dispatch:
7-
pull_request:
8-
branches:
9-
- master
10-
push:
7+
pull_request: &event
118
branches:
129
- master
10+
paths:
11+
- '**.action'
12+
- '**.msg'
13+
- '**.srv'
14+
- '.github/workflows/rolling-build-win.yml'
15+
- '**/package.xml'
16+
- '**/CMakeLists.txt'
17+
push: *event
1318

1419
jobs:
1520
binary-windows:

.github/workflows/rolling-build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ name: Rolling Binary Build
44

55
on:
66
workflow_dispatch:
7-
pull_request:
8-
branches:
9-
- master
10-
push:
7+
pull_request: &event
118
branches:
129
- master
10+
paths:
11+
- '**.action'
12+
- '**.msg'
13+
- '**.srv'
14+
- '.github/workflows/rolling-build.yml'
15+
- '**/package.xml'
16+
- '**/CMakeLists.txt'
17+
push: *event
1318
schedule:
1419
# Run every morning to detect flakiness and broken dependencies
1520
- cron: '28 6 * * MON-FRI'

0 commit comments

Comments
 (0)