diff --git a/src/signals/path-matchers.ts b/src/signals/path-matchers.ts index cb9fc8da54..9a5c17951c 100644 --- a/src/signals/path-matchers.ts +++ b/src/signals/path-matchers.ts @@ -264,6 +264,11 @@ const CONFIG_FILE_NAMES: ReadonlySet = new Set([ "azure-pipelines.yml", "buf.yaml", "buf.gen.yaml", + // Native/C++ build system definitions (siblings to Makefile/Dockerfile above). + "cmakelists.txt", + "meson.build", + "build.bazel", + "module.bazel", ]); // Filename prefixes that identify build, lint, test-runner, and environment config files. diff --git a/test/unit/path-matchers.test.ts b/test/unit/path-matchers.test.ts index d71cac2492..0b728d6e70 100644 --- a/test/unit/path-matchers.test.ts +++ b/test/unit/path-matchers.test.ts @@ -320,6 +320,10 @@ describe("isConfigFile", () => { ".github/workflows/ci.yml", ".github/workflows/release.yaml", ".circleci/config.yml", + "native/CMakeLists.txt", + "libs/core/meson.build", + "services/api/BUILD.bazel", + "MODULE.bazel", ]) { expect(isConfigFile(path)).toBe(true); } @@ -410,6 +414,10 @@ describe("classifyChangedFile", () => { ["skaffold.yaml", "config"], ["Earthfile", "config"], ["Procfile", "config"], + ["native/CMakeLists.txt", "config"], + ["libs/meson.build", "config"], + ["services/BUILD.bazel", "config"], + ["MODULE.bazel", "config"], [".codecov.yml", "config"], ["codecov.yml", "config"], ["codecov.yaml", "config"],