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
/productorCargo.toml/Cargo.lock, the Rust CI runs. - If you touch
/docs,/handbook,/marketing, orREADME.md, the Web/Astro CI runs.
Draft PRs skip CI until ready_for_review.
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.