From d1c3370d807d362f33b9437e3656288106f46559 Mon Sep 17 00:00:00 2001 From: Bingran Hu Date: Wed, 14 Jan 2026 16:44:50 -0500 Subject: [PATCH 1/4] Add pipx-packages script directory to deps image workflow trigger paths --- .github/workflows/clp-artifact-build.yaml | 17 +++++++---------- .github/workflows/clp-core-build-macos.yaml | 19 ++++--------------- 2 files changed, 11 insertions(+), 25 deletions(-) diff --git a/.github/workflows/clp-artifact-build.yaml b/.github/workflows/clp-artifact-build.yaml index b47b0369a7..e6d4f7dde1 100644 --- a/.github/workflows/clp-artifact-build.yaml +++ b/.github/workflows/clp-artifact-build.yaml @@ -63,28 +63,25 @@ jobs: # image (since it would be different from the published image). base: "main" filters: | - centos_stream_9_image: + _deps_image_common_paths: - ".github/actions/**" - ".github/workflows/clp-artifact-build.yaml" - "components/core/tools/scripts/lib_install/*.sh" + - "components/core/tools/scripts/lib_install/pipx-packages/**" + centos_stream_9_image: + - *_deps_image_common_paths - "components/core/tools/docker-images/clp-env-base-centos-stream-9/**" - "components/core/tools/scripts/lib_install/centos-stream-9/**" manylinux_2_28_x86_64_image: - - ".github/actions/**" - - ".github/workflows/clp-artifact-build.yaml" - - "components/core/tools/scripts/lib_install/*.sh" + - *_deps_image_common_paths - "components/core/tools/docker-images/clp-env-base-manylinux_2_28-x86_64/**" - "components/core/tools/scripts/lib_install/manylinux_2_28/**" musllinux_1_2_x86_64_image: - - ".github/actions/**" - - ".github/workflows/clp-artifact-build.yaml" - - "components/core/tools/scripts/lib_install/*.sh" + - *_deps_image_common_paths - "components/core/tools/docker-images/clp-env-base-musllinux_1_2-x86_64/**" - "components/core/tools/scripts/lib_install/musllinux_1_2/**" ubuntu_jammy_image: - - ".github/actions/**" - - ".github/workflows/clp-artifact-build.yaml" - - "components/core/tools/scripts/lib_install/*.sh" + - *_deps_image_common_paths - "components/core/tools/docker-images/clp-env-base-ubuntu-jammy/**" - "components/core/tools/scripts/lib_install/ubuntu-jammy/**" clp: diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index 9ae28b573d..c620372fc3 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -2,33 +2,22 @@ name: "clp-core-build-macos" on: pull_request: - paths: + paths: &trigger_paths - ".github/workflows/clp-core-build-macos.yaml" - ".gitmodules" - "components/core/cmake/**" - "components/core/CMakeLists.txt" - "components/core/src/**" - "components/core/tests/**" - - "components/core/tools/scripts/lib_install/macos/**" - "components/core/tools/scripts/deps-download/**" - - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" - - "taskfile.yaml" - - "taskfiles/**" - - "tools/scripts/deps-download/**" - push: - paths: - - ".github/workflows/clp-core-build-macos.yaml" - - ".gitmodules" - - "components/core/cmake/**" - - "components/core/CMakeLists.txt" - - "components/core/src/**" - - "components/core/tests/**" - "components/core/tools/scripts/lib_install/macos/**" - - "components/core/tools/scripts/deps-download/**" + - "components/core/tools/scripts/lib_install/pipx-packages/**" - "components/core/tools/scripts/utils/build-and-run-unit-tests.py" - "taskfile.yaml" - "taskfiles/**" - "tools/scripts/deps-download/**" + push: + paths: *trigger_paths schedule: # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - cron: "15 0 * * *" From fdc528060a11b21b7631fcb9cc091a52d697ffbd Mon Sep 17 00:00:00 2001 From: Bingran Hu Date: Wed, 14 Jan 2026 18:27:42 -0500 Subject: [PATCH 2/4] Fix anchor grammar --- .github/workflows/clp-artifact-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clp-artifact-build.yaml b/.github/workflows/clp-artifact-build.yaml index e6d4f7dde1..cfa81e98c2 100644 --- a/.github/workflows/clp-artifact-build.yaml +++ b/.github/workflows/clp-artifact-build.yaml @@ -63,7 +63,7 @@ jobs: # image (since it would be different from the published image). base: "main" filters: | - _deps_image_common_paths: + _deps_image_common_paths: &_deps_image_common_paths - ".github/actions/**" - ".github/workflows/clp-artifact-build.yaml" - "components/core/tools/scripts/lib_install/*.sh" From 0dd9bccb74bf1e501f51d6e5ae3fc990eda3e561 Mon Sep 17 00:00:00 2001 From: Bingran Hu Date: Mon, 19 Jan 2026 12:52:03 +0800 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: Junhao Liao --- .github/workflows/clp-artifact-build.yaml | 1 + .github/workflows/clp-core-build-macos.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clp-artifact-build.yaml b/.github/workflows/clp-artifact-build.yaml index cfa81e98c2..470529d3cf 100644 --- a/.github/workflows/clp-artifact-build.yaml +++ b/.github/workflows/clp-artifact-build.yaml @@ -63,6 +63,7 @@ jobs: # image (since it would be different from the published image). base: "main" filters: | + # NOTE: This filter defines a reusable YAML anchor; its output is unused. _deps_image_common_paths: &_deps_image_common_paths - ".github/actions/**" - ".github/workflows/clp-artifact-build.yaml" diff --git a/.github/workflows/clp-core-build-macos.yaml b/.github/workflows/clp-core-build-macos.yaml index c620372fc3..960e701ada 100644 --- a/.github/workflows/clp-core-build-macos.yaml +++ b/.github/workflows/clp-core-build-macos.yaml @@ -2,7 +2,7 @@ name: "clp-core-build-macos" on: pull_request: - paths: &trigger_paths + paths: &monitored_paths - ".github/workflows/clp-core-build-macos.yaml" - ".gitmodules" - "components/core/cmake/**" @@ -17,7 +17,7 @@ on: - "taskfiles/**" - "tools/scripts/deps-download/**" push: - paths: *trigger_paths + paths: *monitored_paths schedule: # Run daily at 00:15 UTC (the 15 is to avoid periods of high load) - cron: "15 0 * * *" From abbabe0bd71cdc42aa3901d175279d2af77bd892 Mon Sep 17 00:00:00 2001 From: Bingran Hu Date: Mon, 19 Jan 2026 12:53:53 +0800 Subject: [PATCH 4/4] Apply suggestions from code review --- .github/workflows/clp-artifact-build.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/clp-artifact-build.yaml b/.github/workflows/clp-artifact-build.yaml index 470529d3cf..360b3cc2fc 100644 --- a/.github/workflows/clp-artifact-build.yaml +++ b/.github/workflows/clp-artifact-build.yaml @@ -64,25 +64,25 @@ jobs: base: "main" filters: | # NOTE: This filter defines a reusable YAML anchor; its output is unused. - _deps_image_common_paths: &_deps_image_common_paths + _deps_images_common_paths: &_deps_images_common_paths - ".github/actions/**" - ".github/workflows/clp-artifact-build.yaml" - "components/core/tools/scripts/lib_install/*.sh" - "components/core/tools/scripts/lib_install/pipx-packages/**" centos_stream_9_image: - - *_deps_image_common_paths + - *_deps_images_common_paths - "components/core/tools/docker-images/clp-env-base-centos-stream-9/**" - "components/core/tools/scripts/lib_install/centos-stream-9/**" manylinux_2_28_x86_64_image: - - *_deps_image_common_paths + - *_deps_images_common_paths - "components/core/tools/docker-images/clp-env-base-manylinux_2_28-x86_64/**" - "components/core/tools/scripts/lib_install/manylinux_2_28/**" musllinux_1_2_x86_64_image: - - *_deps_image_common_paths + - *_deps_images_common_paths - "components/core/tools/docker-images/clp-env-base-musllinux_1_2-x86_64/**" - "components/core/tools/scripts/lib_install/musllinux_1_2/**" ubuntu_jammy_image: - - *_deps_image_common_paths + - *_deps_images_common_paths - "components/core/tools/docker-images/clp-env-base-ubuntu-jammy/**" - "components/core/tools/scripts/lib_install/ubuntu-jammy/**" clp: