Skip to content

Commit

Permalink
docs: add git-cliff changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
backwardspy committed Sep 21, 2024
1 parent ec48aa5 commit 86052b4
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 0 deletions.
176 changes: 176 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
# Changelog

All notable changes to this project will be documented in this file.

## [0.15.1] - 2024-09-21

### πŸ› Bug Fixes

- Set pr reviews to the right colour

## [0.15.0] - 2024-09-19

### πŸ› Bug Fixes

- Handle repo rename/transfer correctly

## [0.14.0] - 2024-09-19

### πŸš€ Features

- Refactor with octocrab (#12)

### βš™οΈ Miscellaneous Tasks

- Bump version

## [0.13.0] - 2024-09-18

### πŸš€ Features

- Hash action too

## [0.12.0] - 2024-09-18

### πŸš€ Features

- Support team `membership` changes (#10)
- Use catppuccin colours in embeds (#11)

### βš™οΈ Miscellaneous Tasks

- Bump version

## [0.11.0] - 2024-09-18

### πŸš€ Features

- Support `pull_request_review` (#7)

### πŸ› Bug Fixes

- `issue_comment` can also be on pull requests (#8)

### 🚜 Refactor

- Ignore most issue events (#6)

### βš™οΈ Miscellaneous Tasks

- Bump to 0.11.0 (#9)

## [0.10.0] - 2024-09-16

### πŸ› Bug Fixes

- Replace underscores instead of hyphens in actions (#5)
- Silly mistake & run tests in CI

### 🚜 Refactor

- *(PR)* Ignore events besides `opened`, `closed` & `reopened` (#4)

### βš™οΈ Miscellaneous Tasks

- Bump version

## [0.9.0] - 2024-09-15

### πŸš€ Features

- Replace - with space in actions

## [0.8.0] - 2024-09-15

### πŸš€ Features

- Ignore all edited events

## [0.7.0] - 2024-09-15

### πŸ› Bug Fixes

- Limit length of `description` embed field (#3)

### βš™οΈ Miscellaneous Tasks

- Bump version number

## [0.6.0] - 2024-09-14

### πŸš€ Features

- Maybe fix comments a bit

### βš™οΈ Miscellaneous Tasks

- Bump version number

## [0.5.1] - 2024-09-14

### βš™οΈ Miscellaneous Tasks

- Bump to 0.5.1 (#2)

## [0.5.0] - 2024-09-14

### πŸ“š Documentation

- *(readme)* Rename

### βš™οΈ Miscellaneous Tasks

- Bump version number

### Build

- Rename package
- "waaaahhh" - @sgoudham

## [0.4.0] - 2024-06-11

### πŸš€ Features

- Implement all the github events we care about

### βš™οΈ Miscellaneous Tasks

- Enable & fix clippy lints
- Bump version number

## [0.3.0] - 2024-06-11

### πŸš€ Features

- Make port configurable

### πŸ“š Documentation

- Add readme

### βš™οΈ Miscellaneous Tasks

- Add license
- Bump version number

## [0.2.0] - 2024-06-11

### πŸš€ Features

- Support separate bot hook

### βš™οΈ Miscellaneous Tasks

- Bump version number

## [0.1.0] - 2024-06-11

### πŸš€ Features

- Initial commit

### βš™οΈ Miscellaneous Tasks

- Add release workflow

<!-- generated by git-cliff -->
79 changes: 79 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# git-cliff ~ default configuration file
# https://git-cliff.org/docs/configuration
#
# Lines starting with "#" are comments.
# Configuration options are organized into tables and keys.
# See documentation for more information on available options.

[changelog]
# template for the changelog header
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
"""
# template for the changelog body
# https://keats.github.io/tera/docs/#introduction
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
# template for the changelog footer
footer = """
<!-- generated by git-cliff -->
"""
# remove the leading and trailing s
trim = true
# postprocessors
postprocessors = [
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
]

[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = true
# process each line of a commit as an individual commit
split_commits = false
# regex for preprocessing the commit messages
commit_preprocessors = [
# Replace issue numbers
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
# Check spelling of the commit with https://github.com/crate-ci/typos
# If the spelling is incorrect, it will be automatically fixed.
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->πŸš€ Features" },
{ message = "^fix", group = "<!-- 1 -->πŸ› Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->πŸ“š Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚑ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->πŸ§ͺ Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->βš™οΈ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->πŸ›‘οΈ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"

0 comments on commit 86052b4

Please sign in to comment.