---
title: "Choose between one directory level and its descendants | Proofline Help"
description: "Decide whether a new subdirectory should automatically enter the review scope."
url: https://proofline.sh/help/yaml-match-path-depth/
---

[Help center](/help/)

# Choose between one directory level and its descendants

Decide whether a new subdirectory should automatically enter the review scope.

## Match direct children or nested paths

Here the first entry covers files immediately below `deploy/`. The second entry covers files under `services/billing/` at any depth.

```
version: 2
reviews:
  paths_include: ["deploy/*", "services/billing/**"]
```

For example, `deploy/stage.yaml` matches the first entry and `deploy/eu/stage.yaml` falls outside it. To review both, change the first entry to `deploy/**`. Use the paths and capitalization from the Git tree.

## Related guides

-   [Review repository configuration](/help/repository-configuration/)
