CI: trigger check also on build and check-kernel-patches workflow change
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 19:58:11 +0000 (20:58 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 20:14:21 +0000 (21:14 +0100)
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 <ansuelsmth@gmail.com>
(cherry picked from commit 644175c29ca11e0a008c58c82986045f738f5c6f)

.github/workflows/kernel.yml
.github/workflows/packages.yml

index 06efe14d5c58a52eb451ce2f2a8ec64bcdba594f..5a8c1123af0fba8af4c9ab54b4dadbe554acf488 100644 (file)
@@ -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/**'
index a374b3702314271e14b3d46b74be69f455093c7e..94982ba65bf03f20eed644913c1544e15de8d9cb 100644 (file)
@@ -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/**'