Skip to content

Commit

Permalink
docs(website): add tip about skipping commits by PR label
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Feb 29, 2024
1 parent eeaa406 commit 6d3354c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/docs/tips-and-tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d3354c

Please sign in to comment.