[CI] Add paths filters (backport #427) #123
Workflow file for this run
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: Humble Coverage Build | |
| on: | |
| workflow_dispatch: | |
| pull_request: &event | |
| branches: | |
| - humble | |
| paths: | |
| - '**.hpp' | |
| - '**.h' | |
| - '**.cpp' | |
| - '**.py' | |
| - '**.yaml' | |
| - '.github/workflows/humble-coverage-build.yml' | |
| - '**/package.xml' | |
| - '**/CMakeLists.txt' | |
| - '**.xml' | |
| push: *event | |
| 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: | |
| name: coverage build | |
| uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master | |
| secrets: inherit | |
| with: | |
| ros_distro: humble |