Path Filtering¶
Skip workflows when relevant files haven't changed.
Native GitHub Feature
Path filtering is built into GitHub Actions. No custom code required—just configure paths and paths-ignore in your workflow triggers.
Native GitHub Feature¶
GitHub Actions provides built-in path filtering:
This is a platform feature, not a pattern implementation. See the official documentation for full syntax.
When to Use¶
- Monorepo builds - Only build changed packages
- Documentation changes - Skip CI for doc-only PRs
- Config changes - Trigger only relevant pipelines
Related¶
- Work Avoidance in GitHub Actions - Pattern overview
- Change Detection - Runtime path detection
References¶
- GitHub Actions: paths filter - Official documentation