CI: added dispatch_workflow for ros2 jobs

This commit is contained in:
matlabbe
2026-08-06 15:02:30 -07:00
parent 48d1ed1204
commit accefde0fb
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -5,6 +5,7 @@ on:
branches: [ ros2 ]
pull_request:
branches: [ ros2 ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -12,6 +13,8 @@ concurrency:
jobs:
docker:
# A manual dispatch is honored only on ros2, the only ref we push from.
if: ${{ github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/ros2' }}
runs-on: ubuntu-latest
strategy:
+1
View File
@@ -6,6 +6,7 @@ on:
branches: [ ros2 ]
pull_request:
branches: [ ros2 ]
workflow_dispatch:
env:
BUILD_TYPE: Release