[openwrt/openwrt] CI: trigger check also on build and check-kernel-patches workflow change
LEDE Commits
lede-commits at lists.infradead.org
Sun Dec 4 12:16:41 PST 2022
ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/309a6f22baeff66213822f3cdb92c4b5fbfbe59c
commit 309a6f22baeff66213822f3cdb92c4b5fbfbe59c
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sun Dec 4 20:58:11 2022 +0100
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 <ansuelsmth at gmail.com>
(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/**'
More information about the lede-commits
mailing list