Skip to content

Smart CI & Path Filtering

Smart CI Pipeline

We use dorny/paths-filter in our GitHub Actions to ensure we don’t waste CI minutes compiling Rust when only documentation changes.

How it works

When you open a PR, the changes job evaluates which directories were modified:

  • If you touch /product or /hub/api, the Rust CI runs.
  • If you touch /docs, /company, or /hub/storefront-ui, the Web/Astro CI runs.

Adding new paths

If you add a new top-level directory that requires CI, you must update the filters block in .github/workflows/ci.yml.