From f22dad42e06fa2cd948de7879792f2d3e35d52cb Mon Sep 17 00:00:00 2001 From: Woen-Sug Choi Date: Fri, 9 Aug 2024 17:33:23 +0900 Subject: [PATCH] add lints and build checks for PR too --- .github/workflows/jazzy-source-build.yml | 6 ++++-- .github/workflows/lint.yml | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jazzy-source-build.yml b/.github/workflows/jazzy-source-build.yml index dd341ef9..5822b6b9 100644 --- a/.github/workflows/jazzy-source-build.yml +++ b/.github/workflows/jazzy-source-build.yml @@ -16,9 +16,11 @@ on: - "**/package.xml" - "**/CMakeLists.txt" - "dave.jazzy.repos" + pull_request: + types: [opened, reopened] schedule: - # Run every day to detect flakiness and broken dependencies - - cron: "03 3 * * *" + # Run every week to detect flakiness and broken dependencies + - cron: "03 3 * * 1" env: ros_distro: jazzy diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 48ca25a8..1684173c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,6 +7,8 @@ on: tags: ["*"] branches: - ros2 + pull_request: + types: [opened, reopened] jobs: # ament_lint: