docs: add tip for auto-removal of irrelevant custom labels

This commit is contained in:
Hussam.lawen 2025-07-27 12:33:12 +03:00
parent c12cd2d02d
commit 70a3059cbf
No known key found for this signature in database
GPG key ID: 07E08C11EA208BC2

View file

@ -219,6 +219,10 @@ Custom labels can be defined in a [configuration file](https://qodo-merge-docs.q
Make sure to provide proper title, and a detailed and well-phrased description for each label, so the tool will know when to suggest it.
Each label description should be a **conditional statement**, that indicates if to add the label to the PR or not, according to the PR content.
???+ tip "Auto-remove custom label when no longer relevant"
If the custom label is no longer relevant, it will be automatically removed from the PR by running the `generate_labels` tool or the `describe` tool.
### Handle custom labels from a configuration file
Example for a custom labels configuration setup in a configuration file: