---
title: "Apply a GitHub label for changes in a directory | Proofline Help"
description: "A path-label rule attaches a label based on changed files. It serves a different purpose from a trigger label that asks Proofline to start a review."
url: https://proofline.sh/help/chat-label-prs-by-path/
---

[Help center](/help/)

# Apply a GitHub label for changes in a directory

A path-label rule attaches a label based on changed files. It serves a different purpose from a trigger label that asks Proofline to start a review.

## Ask your connected agent

> Read all path-label rules for this repository. Propose adding our existing frontend label for changes under our frontend directory; show the path pattern first.

Check the complete replacement list and the spelling of the GitHub label. Verify the chosen pattern against an example changed file. A trigger label with the same name is a separate setting.

## Related guides

-   [Configure Proofline from chat](/help/configure-proofline-in-chat/)
-   [Configure review automation](/help/review-automation/)
