Exclude paths that should not trigger CI.
Section: Filters and concurrency
Ignore docs-only changes
yaml
yaml
on:
pull_request:
paths-ignore:
- "docs/**"
- "**/*.md"Explanation
Useful when docs edits do not need a full build pipeline.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filters and concurrency
Run only when selected paths change
Use `paths` to scope the workflow to files or directories.
Cancel in-progress duplicate runs
Use concurrency groups to keep only the latest run active.