Skip to content

Commit

Permalink
[CI] Add path-filters and fix branches for check-docs (#519) (#521)
Browse files Browse the repository at this point in the history
* Fix branches for check-docs

* Add path filters

* Include workflow file to paths filter

(cherry picked from commit e6543df)

Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
  • Loading branch information
mergify[bot] and christophfroehlich authored May 14, 2024
1 parent 020dd9d commit d1a7d3e
Show file tree
Hide file tree
Showing 11 changed files with 212 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/humble-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,29 @@ on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/humble-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos-not-released.humble.repos'
push:
branches:
- humble
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/humble-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos-not-released.humble.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/humble-check-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Humble Check Docs

on:
workflow_dispatch:
pull_request:
branches:
- humble
paths:
- '**.rst'
- '.github/workflows/humble-check-docs.yml'

jobs:
check-docs:
name: Check Docs
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@humble
with:
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}
20 changes: 20 additions & 0 deletions .github/workflows/humble-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,29 @@ on:
pull_request:
branches:
- humble
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/humble-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.humble.repos'
push:
branches:
- humble
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/humble-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.humble.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/iron-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@ on:
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/iron-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos-not-released.iron.repos'
push:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/iron-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos-not-released.iron.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: Check Docs
name: Iron Check Docs

on:
workflow_dispatch:
pull_request:
branches:
- iron
paths:
- '**.rst'
- '.github/workflows/iron-check-docs.yml'

jobs:
check-docs:
name: Check Docs
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@master
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@iron
with:
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}
22 changes: 22 additions & 0 deletions .github/workflows/iron-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,31 @@ on:
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/iron-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.iron.repos'
push:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/iron-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.iron.repos'
schedule:
# Run every morning to detect broken dependencies
- cron: '50 1 * * *'
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/iron-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,30 @@ on:
pull_request:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/iron-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.iron.repos'
push:
branches:
- iron
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/iron-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.iron.repos'

schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/rolling-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,29 @@ on:
pull_request:
branches:
- master
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/rolling-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos-not-released.rolling.repos'
push:
branches:
- master
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/rolling-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos-not-released.rolling.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/rolling-check-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rolling Check Docs

on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- '**.rst'
- '.github/workflows/rolling-check-docs.yml'


jobs:
check-docs-rolling:
name: Check Docs
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@rolling
with:
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}
check-docs-jazzy:
name: Check Docs
uses: ros-controls/control.ros.org/.github/workflows/reusable-sphinx-check-single-version.yml@jazzy
with:
ROS2_CONTROL_DEMOS_PR: ${{ github.ref }}
22 changes: 22 additions & 0 deletions .github/workflows/rolling-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,31 @@ on:
pull_request:
branches:
- master
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/rolling-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.rolling.repos'
push:
branches:
- master
paths:
- '**.hpp'
- '**.cpp'
- Dockerfile/**
- '.github/workflows/rolling-docker-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.rolling.repos'
schedule:
# Run every morning to detect broken dependencies
- cron: '50 1 * * *'
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/rolling-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,29 @@ on:
pull_request:
branches:
- master
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/rolling-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.rolling.repos'
push:
branches:
- master
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/rolling-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos.rolling.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'
Expand Down

0 comments on commit d1a7d3e

Please sign in to comment.