diff --git a/website/docs/tips-and-tricks.md b/website/docs/tips-and-tricks.md index 99c7f83fcc..5dfe2faa6b 100644 --- a/website/docs/tips-and-tricks.md +++ b/website/docs/tips-and-tricks.md @@ -43,6 +43,14 @@ Then strip the tags in the template with the series of filters: {% for group, commits in commits | filter(attribute="merge_commit", value=false) %} ``` +## Skip commits by PR label + +```jinja2 +{% if commit.github.pr_labels is containing("skip-release-notes") %} + {% continue %} +{% endif %} +``` + ## Remove gitmoji ```toml