Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI

on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "0 2 * * *"

jobs:
detect-changes:
name: Detect Changes
runs-on: ubuntu-latest
outputs:
moveit2-changed: ${{ steps.changes.outputs.moveit2 }}
nav2-changed: ${{ steps.changes.outputs.nav2 }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check for changes
uses: dorny/paths-filter@v3
id: changes
with:
filters: |
moveit2:
- 'moveit2/**'
nav2:
- 'navigation2/**'

markdown-link-check:
name: Markdown Link Check
uses: ./.github/workflows/markdown-link-check.yml

moveit2-build:
name: MoveIt2 Docker Build
needs: detect-changes
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'schedule' ||
needs.detect-changes.outputs.moveit2-changed == 'true'
uses: ./.github/workflows/moveit2-build.yml
secrets: inherit

nav2-build:
name: Nav2 Docker Build
needs: detect-changes
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'schedule' ||
needs.detect-changes.outputs.nav2-changed == 'true'
uses: ./.github/workflows/nav2-build.yml
secrets: inherit
8 changes: 1 addition & 7 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Markdown Link Check
on:
workflow_dispatch:
push:
branches: ['main']
pull_request:
branches: ['main']
schedule:
- cron: '0 2 * * *'
workflow_call:
jobs:
markdown-link-check:
runs-on: ubuntu-latest
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/moveit2-build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
name: MoveIt2 Docker build
on:
workflow_dispatch:
push:
branches: ['main']
paths: 'moveit2/**'
pull_request:
branches: ['main']
paths: 'moveit2/**'
schedule:
- cron: '0 2 * * *'
workflow_call:
jobs:
space-ros-moveit2:
runs-on: ubuntu-24.04
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/nav2-build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
name: Nav2 Docker build
on:
workflow_dispatch:
push:
branches: ['main']
paths: 'navigation2/**'
pull_request:
branches: ['main']
paths: 'navigation2/**'
schedule:
- cron: '0 2 * * *'
workflow_call:
jobs:
space-ros-nav2:
runs-on: ubuntu-24.04
Expand Down