Skip to content
Latchkey

Path Filter Trigger - CI/CD Glossary Definition

A path filter trigger starts a workflow only when the changed files match given path patterns, skipping unrelated commits.

A path filter trigger runs a workflow only when the changed files match configured path patterns, set with on.push.paths or paths-ignore. It stops unrelated changes from launching an expensive pipeline.

Path filters cut wasted minutes in monorepos by scoping each pipeline to the directories it owns.

Filter syntax

Under on: push: add paths: [ "services/api/" ] to run only for API changes, or paths-ignore: [ "docs/" ] to skip documentation-only commits.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →