From 832fe214ee532f003891ea51a58b5857f8900b21 Mon Sep 17 00:00:00 2001 From: Guillaume Sarthou Date: Sun, 9 Jun 2024 21:46:54 +0200 Subject: [PATCH] configure github actions --- .github/workflows/ROS1.yml | 12 +++++++++++- .github/workflows/ROS2.yml | 10 +++++++++- .github/workflows/linter.yml | 22 +++++++++++++++++++++- 3 files changed, 41 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ROS1.yml b/.github/workflows/ROS1.yml index 2e23dcb2..14d9eafa 100644 --- a/.github/workflows/ROS1.yml +++ b/.github/workflows/ROS1.yml @@ -1,6 +1,16 @@ name: ROS1 CI -on: [push, workflow_dispatch] +on: + push: + paths-ignore: + - 'docs/**' + - 'launch/ros2/**' + - 'resources/*' + pull_request: + paths-ignore: + - 'docs/**' + - 'launch/ros2/**' + - 'resources/*' jobs: build: diff --git a/.github/workflows/ROS2.yml b/.github/workflows/ROS2.yml index b92abd3f..bc50c537 100644 --- a/.github/workflows/ROS2.yml +++ b/.github/workflows/ROS2.yml @@ -1,6 +1,14 @@ name: ROS2 CI -on: [push, workflow_dispatch] +on: + push: + paths-ignore: + - 'docs/**' + - 'resources/*' + pull_request: + paths-ignore: + - 'docs/**' + - 'resources/*' jobs: build: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 86eab8f8..b9eb520a 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -1,6 +1,26 @@ name: Clang linter -on: [push, workflow_dispatch] +on: + push: + branches: + - master + - dev + paths-ignore: + - 'docs/**' + - 'resources/*' + - 'ui/*' + - 'files/*' + - 'configuration/*' + pull_request: + branches: + - master + - dev + paths-ignore: + - 'docs/**' + - 'resources/*' + - 'ui/*' + - 'files/*' + - 'configuration/*' jobs: build: