From f7e74772cfe89b5a72c2f47ecfa2cbea18599842 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 26 Feb 2024 21:01:48 -0300 Subject: ci: run check-c.yml on any C code change test/ also contains source code and cppcheck checks it: $ make cppcheck | grep 'Checking test/' Checking test/appimage/main.c ... Checking test/chroot/unchroot.c ... Checking test/filters/namespaces.c ... Checking test/seccomp-extra/memwrexe.c ... So make sure that it is included in the CI trigger paths. --- .github/workflows/check-c.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml index 5c20f9892..dd841c394 100644 --- a/.github/workflows/check-c.yml +++ b/.github/workflows/check-c.yml @@ -8,9 +8,9 @@ on: branches-ignore: - 'dependabot/**' paths: + - '**.c' + - '**.h' - 'm4/**' - - 'src/**.c' - - 'src/**.h' - 'src/**.mk' - 'src/**Makefile' - .github/workflows/check-c.yml @@ -22,9 +22,9 @@ on: - configure.ac pull_request: paths: + - '**.c' + - '**.h' - 'm4/**' - - 'src/**.c' - - 'src/**.h' - 'src/**.mk' - 'src/**Makefile' - .github/workflows/check-c.yml -- cgit v1.2.3-54-g00ecf