From be3b061d7bbf425c95ef9108a37c51747c0025e9 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Sun, 4 Dec 2022 20:58:11 +0100 Subject: [PATCH] CI: trigger check also on build and check-kernel-patches workflow change Since kernel and packages workflow now use a shared build workflow, they also need to react on changes on these shared workflow. Fix this and add these shared workflow to the event paths to check. Signed-off-by: Christian Marangi (cherry picked from commit 644175c29ca11e0a008c58c82986045f738f5c6f) --- .github/workflows/kernel.yml | 4 ++++ .github/workflows/packages.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 06efe14d5c..5a8c1123af 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -3,12 +3,16 @@ name: Build Kernel on: pull_request: paths: + - '.github/workflows/check-kernel-patches.yml' + - '.github/workflows/build.yml' - '.github/workflows/kernel.yml' - 'include/kernel*' - 'package/kernel/**' - 'target/linux/generic/**' push: paths: + - '.github/workflows/check-kernel-patches.yml' + - '.github/workflows/build.yml' - '.github/workflows/kernel.yml' - 'include/kernel*' - 'package/kernel/**' diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index a374b37023..94982ba65b 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -3,6 +3,7 @@ name: Build all core packages on: pull_request: paths: + - '.github/workflows/build.yml' - '.github/workflows/packages.yml' - 'config/**' - 'include/**' @@ -11,6 +12,7 @@ on: - 'toolchain/**' push: paths: + - '.github/workflows/build.yml' - '.github/workflows/packages.yml' - 'config/**' - 'include/**' -- 2.30.2