Skip to content

Commit e6543df

Browse files
[CI] Add path-filters and fix branches for check-docs (ros-controls#519)
* Fix branches for check-docs * Fix iron * Add path filters * Include workflow file to paths filter
1 parent 5b999ba commit e6543df

11 files changed

+212
-2
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,29 @@ on:
55
pull_request:
66
branches:
77
- humble
8+
paths:
9+
- '**.hpp'
10+
- '**.cpp'
11+
- '.github/workflows/humble-binary-build.yml'
12+
- '**/package.xml'
13+
- '**/CMakeLists.txt'
14+
- '**.xacro'
15+
- '**.py'
16+
- '**.yaml'
17+
- 'ros2_control_demos-not-released.humble.repos'
818
push:
919
branches:
1020
- humble
21+
paths:
22+
- '**.hpp'
23+
- '**.cpp'
24+
- '.github/workflows/humble-binary-build.yml'
25+
- '**/package.xml'
26+
- '**/CMakeLists.txt'
27+
- '**.xacro'
28+
- '**.py'
29+
- '**.yaml'
30+
- 'ros2_control_demos-not-released.humble.repos'
1131
schedule:
1232
# Run every morning to detect flakiness and broken dependencies
1333
- cron: '03 1 * * *'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Humble Check Docs
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- humble
8+
paths:
9+
- '**.rst'
10+
- '.github/workflows/humble-check-docs.yml'
11+
12+
jobs:
13+
check-docs:
14+
name: Check Docs
15+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@humble
16+
with:
17+
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,29 @@ on:
55
pull_request:
66
branches:
77
- humble
8+
paths:
9+
- '**.hpp'
10+
- '**.cpp'
11+
- '.github/workflows/humble-semi-binary-build.yml'
12+
- '**/package.xml'
13+
- '**/CMakeLists.txt'
14+
- '**.xacro'
15+
- '**.py'
16+
- '**.yaml'
17+
- 'ros2_control_demos.humble.repos'
818
push:
919
branches:
1020
- humble
21+
paths:
22+
- '**.hpp'
23+
- '**.cpp'
24+
- '.github/workflows/humble-semi-binary-build.yml'
25+
- '**/package.xml'
26+
- '**/CMakeLists.txt'
27+
- '**.xacro'
28+
- '**.py'
29+
- '**.yaml'
30+
- 'ros2_control_demos.humble.repos'
1131
schedule:
1232
# Run every morning to detect flakiness and broken dependencies
1333
- cron: '33 1 * * *'

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,29 @@ on:
66
pull_request:
77
branches:
88
- iron
9+
paths:
10+
- '**.hpp'
11+
- '**.cpp'
12+
- '.github/workflows/iron-binary-build.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- '**.xacro'
16+
- '**.py'
17+
- '**.yaml'
18+
- 'ros2_control_demos-not-released.iron.repos'
919
push:
1020
branches:
1121
- iron
22+
paths:
23+
- '**.hpp'
24+
- '**.cpp'
25+
- '.github/workflows/iron-binary-build.yml'
26+
- '**/package.xml'
27+
- '**/CMakeLists.txt'
28+
- '**.xacro'
29+
- '**.py'
30+
- '**.yaml'
31+
- 'ros2_control_demos-not-released.iron.repos'
1232
schedule:
1333
# Run every morning to detect flakiness and broken dependencies
1434
- cron: '03 1 * * *'
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
name: Check Docs
1+
name: Iron Check Docs
22

33
on:
44
workflow_dispatch:
55
pull_request:
6+
branches:
7+
- iron
8+
paths:
9+
- '**.rst'
10+
- '.github/workflows/iron-check-docs.yml'
611

712
jobs:
813
check-docs:
914
name: Check Docs
10-
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@master
15+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@iron
1116
with:
1217
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}

.github/workflows/iron-docker-build.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,31 @@ on:
55
pull_request:
66
branches:
77
- iron
8+
paths:
9+
- '**.hpp'
10+
- '**.cpp'
11+
- Dockerfile/**
12+
- '.github/workflows/iron-docker-build.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- '**.xacro'
16+
- '**.py'
17+
- '**.yaml'
18+
- 'ros2_control_demos.iron.repos'
819
push:
920
branches:
1021
- iron
22+
paths:
23+
- '**.hpp'
24+
- '**.cpp'
25+
- Dockerfile/**
26+
- '.github/workflows/iron-docker-build.yml'
27+
- '**/package.xml'
28+
- '**/CMakeLists.txt'
29+
- '**.xacro'
30+
- '**.py'
31+
- '**.yaml'
32+
- 'ros2_control_demos.iron.repos'
1133
schedule:
1234
# Run every morning to detect broken dependencies
1335
- cron: '50 1 * * *'

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,30 @@ on:
55
pull_request:
66
branches:
77
- iron
8+
paths:
9+
- '**.hpp'
10+
- '**.cpp'
11+
- '.github/workflows/iron-semi-binary-build.yml'
12+
- '**/package.xml'
13+
- '**/CMakeLists.txt'
14+
- '**.xacro'
15+
- '**.py'
16+
- '**.yaml'
17+
- 'ros2_control_demos.iron.repos'
818
push:
919
branches:
1020
- iron
21+
paths:
22+
- '**.hpp'
23+
- '**.cpp'
24+
- '.github/workflows/iron-semi-binary-build.yml'
25+
- '**/package.xml'
26+
- '**/CMakeLists.txt'
27+
- '**.xacro'
28+
- '**.py'
29+
- '**.yaml'
30+
- 'ros2_control_demos.iron.repos'
31+
1132
schedule:
1233
# Run every morning to detect flakiness and broken dependencies
1334
- cron: '33 1 * * *'

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,29 @@ on:
66
pull_request:
77
branches:
88
- master
9+
paths:
10+
- '**.hpp'
11+
- '**.cpp'
12+
- '.github/workflows/rolling-binary-build.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- '**.xacro'
16+
- '**.py'
17+
- '**.yaml'
18+
- 'ros2_control_demos-not-released.rolling.repos'
919
push:
1020
branches:
1121
- master
22+
paths:
23+
- '**.hpp'
24+
- '**.cpp'
25+
- '.github/workflows/rolling-binary-build.yml'
26+
- '**/package.xml'
27+
- '**/CMakeLists.txt'
28+
- '**.xacro'
29+
- '**.py'
30+
- '**.yaml'
31+
- 'ros2_control_demos-not-released.rolling.repos'
1232
schedule:
1333
# Run every morning to detect flakiness and broken dependencies
1434
- cron: '03 1 * * *'
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Rolling Check Docs
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- master
8+
paths:
9+
- '**.rst'
10+
- '.github/workflows/rolling-check-docs.yml'
11+
12+
13+
jobs:
14+
check-docs-rolling:
15+
name: Check Docs
16+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@rolling
17+
with:
18+
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}
19+
check-docs-jazzy:
20+
name: Check Docs
21+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@jazzy
22+
with:
23+
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}

.github/workflows/rolling-docker-build.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,31 @@ on:
55
pull_request:
66
branches:
77
- master
8+
paths:
9+
- '**.hpp'
10+
- '**.cpp'
11+
- Dockerfile/**
12+
- '.github/workflows/rolling-docker-build.yml'
13+
- '**/package.xml'
14+
- '**/CMakeLists.txt'
15+
- '**.xacro'
16+
- '**.py'
17+
- '**.yaml'
18+
- 'ros2_control_demos.rolling.repos'
819
push:
920
branches:
1021
- master
22+
paths:
23+
- '**.hpp'
24+
- '**.cpp'
25+
- Dockerfile/**
26+
- '.github/workflows/rolling-docker-build.yml'
27+
- '**/package.xml'
28+
- '**/CMakeLists.txt'
29+
- '**.xacro'
30+
- '**.py'
31+
- '**.yaml'
32+
- 'ros2_control_demos.rolling.repos'
1133
schedule:
1234
# Run every morning to detect broken dependencies
1335
- cron: '50 1 * * *'

0 commit comments

Comments
 (0)