File tree Expand file tree Collapse file tree 4 files changed +60
-25
lines changed
Expand file tree Collapse file tree 4 files changed +60
-25
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : ["main"]
7+ pull_request :
8+ branches : ["main"]
9+ schedule :
10+ - cron : " 0 2 * * *"
11+
12+ jobs :
13+ detect-changes :
14+ name : Detect Changes
15+ runs-on : ubuntu-latest
16+ outputs :
17+ moveit2-changed : ${{ steps.changes.outputs.moveit2 }}
18+ nav2-changed : ${{ steps.changes.outputs.nav2 }}
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+
25+ - name : Check for changes
26+ uses : dorny/paths-filter@v3
27+ id : changes
28+ with :
29+ filters : |
30+ moveit2:
31+ - 'moveit2/**'
32+ nav2:
33+ - 'navigation2/**'
34+
35+ markdown-link-check :
36+ name : Markdown Link Check
37+ uses : ./.github/workflows/markdown-link-check.yml
38+
39+ moveit2-build :
40+ name : MoveIt2 Docker Build
41+ needs : detect-changes
42+ if : |
43+ github.event_name == 'workflow_dispatch' ||
44+ github.event_name == 'schedule' ||
45+ needs.detect-changes.outputs.moveit2-changed == 'true'
46+ uses : ./.github/workflows/moveit2-build.yml
47+ secrets : inherit
48+
49+ nav2-build :
50+ name : Nav2 Docker Build
51+ needs : detect-changes
52+ if : |
53+ github.event_name == 'workflow_dispatch' ||
54+ github.event_name == 'schedule' ||
55+ needs.detect-changes.outputs.nav2-changed == 'true'
56+ uses : ./.github/workflows/nav2-build.yml
57+ secrets : inherit
Original file line number Diff line number Diff line change 11name : Markdown Link Check
22on :
3- workflow_dispatch :
4- push :
5- branches : ['main']
6- pull_request :
7- branches : ['main']
8- schedule :
9- - cron : ' 0 2 * * *'
3+ workflow_call :
104jobs :
115 markdown-link-check :
126 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : MoveIt2 Docker build
22on :
3- workflow_dispatch :
4- push :
5- branches : ['main']
6- paths : ' moveit2/**'
7- pull_request :
8- branches : ['main']
9- paths : ' moveit2/**'
10- schedule :
11- - cron : ' 0 2 * * *'
3+ workflow_call :
124jobs :
135 space-ros-moveit2 :
146 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 11name : Nav2 Docker build
22on :
3- workflow_dispatch :
4- push :
5- branches : ['main']
6- paths : ' navigation2/**'
7- pull_request :
8- branches : ['main']
9- paths : ' navigation2/**'
10- schedule :
11- - cron : ' 0 2 * * *'
3+ workflow_call :
124jobs :
135 space-ros-nav2 :
146 runs-on : ubuntu-24.04
You can’t perform that action at this time.
0 commit comments