From e3f3faaad8c97b46ae87fda1f195fc3dd420add8 Mon Sep 17 00:00:00 2001 From: Emin Date: Mon, 20 Apr 2026 14:54:28 +0800 Subject: [PATCH 1/2] fix(ci): strip directory prefix from SHA256SUMS entries Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/scripts/build-wheel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/build-wheel.sh b/.github/scripts/build-wheel.sh index 689c91151..d3944a6fa 100755 --- a/.github/scripts/build-wheel.sh +++ b/.github/scripts/build-wheel.sh @@ -105,7 +105,7 @@ print(f'ecc_py smoke test passed: {len(required)} bindings verified') " # Checksums -sha256sum "$repair_out"/*.whl > dist/wheel/SHA256SUMS +(cd "$repair_out" && sha256sum *.whl) > dist/wheel/SHA256SUMS echo "[build-wheel] done" echo "[build-wheel] raw wheels: $raw_out" From 1060f6fd22aebea60cd667a5f03a6f86d1cb29ee Mon Sep 17 00:00:00 2001 From: Emin Date: Mon, 20 Apr 2026 15:03:21 +0800 Subject: [PATCH 2/2] fix(ci): skip PR builds for non-build changes Add path filters so CI only triggers on PRs that touch source code, build config, or CI definitions. Docs-only PRs no longer run the wheel build. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d96f2eaf..6b37bc00f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,13 @@ name: CI on: pull_request: + paths: + - 'src/**' + - 'cmake/**' + - 'CMakeLists.txt' + - 'pyproject.toml' + - 'build.sh' + - '.github/**' push: branches: [main]