Fix github.ref
check for concurrency settings (backport #1872) (#1874)
#98
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage Build - Jazzy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- jazzy | |
paths: | |
- '**.hpp' | |
- '**.h' | |
- '**.cpp' | |
- '.github/workflows/jazzy-coverage-build.yml' | |
- '**.yaml' | |
- '**/package.xml' | |
- '**/CMakeLists.txt' | |
- 'codecov.yml' | |
- '**/package.xml' | |
- '**/CMakeLists.txt' | |
- 'ros2_controllers.jazzy.repos' | |
pull_request: | |
branches: | |
- jazzy | |
paths: | |
- '**.hpp' | |
- '**.h' | |
- '**.cpp' | |
- '.github/workflows/jazzy-coverage-build.yml' | |
- '**.yaml' | |
- '**/package.xml' | |
- '**/CMakeLists.txt' | |
- 'codecov.yml' | |
- '**/package.xml' | |
- '**/CMakeLists.txt' | |
- 'ros2_controllers.jazzy.repos' | |
concurrency: | |
# cancel previous runs of the same workflow, except for pushes on given branches | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/heads') }} | |
jobs: | |
coverage_jazzy: | |
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master | |
secrets: inherit | |
with: | |
ros_distro: jazzy |