Skip to content

Commit 8b103f8

Browse files
christophfroehlichmergify[bot]
authored andcommitted
[CI] Improve paths filtering and specify branch for control.ros.org (#630)
(cherry picked from commit c59baef) # Conflicts: # .github/workflows/ci-check-docs.yml
1 parent dd146fe commit 8b103f8

File tree

4 files changed

+116
-0
lines changed

4 files changed

+116
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Check Docs - Humble
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- humble
8+
paths:
9+
- '**.rst'
10+
- '**.md'
11+
- '**.jpg'
12+
- '**.jpeg'
13+
- '**.png'
14+
- '**.svg'
15+
- '**.yml'
16+
- '**.yaml'
17+
- '!.github/**' # exclude yaml files in .github directory
18+
- '.github/workflows/humble-check-docs.yml'
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
24+
jobs:
25+
check-docs:
26+
name: Check Docs
27+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@humble
28+
with:
29+
GZ_ROS2_CONTROL_PR: ${{ github.ref }}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Check Docs - Jazzy
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- jazzy
8+
paths:
9+
- '**.rst'
10+
- '**.md'
11+
- '**.jpg'
12+
- '**.jpeg'
13+
- '**.png'
14+
- '**.svg'
15+
- '**.yml'
16+
- '**.yaml'
17+
- '!.github/**' # exclude yaml files in .github directory
18+
- '.github/workflows/jazzy-check-docs.yml'
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
24+
jobs:
25+
check-docs:
26+
name: Check Docs
27+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@jazzy
28+
with:
29+
GZ_ROS2_CONTROL_PR: ${{ github.ref }}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Check Docs - Kilted
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- kilted
8+
paths:
9+
- '**.rst'
10+
- '**.md'
11+
- '**.jpg'
12+
- '**.jpeg'
13+
- '**.png'
14+
- '**.svg'
15+
- '**.yml'
16+
- '**.yaml'
17+
- '!.github/**' # exclude yaml files in .github directory
18+
- '.github/workflows/kilted-check-docs.yml'
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
24+
jobs:
25+
check-docs:
26+
name: Check Docs
27+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@kilted
28+
with:
29+
GZ_ROS2_CONTROL_PR: ${{ github.ref }}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Check Docs - Rolling
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- rolling
8+
paths:
9+
- '**.rst'
10+
- '**.md'
11+
- '**.jpg'
12+
- '**.jpeg'
13+
- '**.png'
14+
- '**.svg'
15+
- '**.yml'
16+
- '**.yaml'
17+
- '!.github/**' # exclude yaml files in .github directory
18+
- '.github/workflows/rolling-check-docs.yml'
19+
20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
24+
jobs:
25+
check-docs:
26+
name: Check Docs
27+
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@rolling
28+
with:
29+
GZ_ROS2_CONTROL_PR: ${{ github.ref }}

0 commit comments

Comments
 (0)