TRaSH-Guides / Guides

Here you will find Guides mainly for the Starr Apps (Sonarr/Radarr) and everything related to it.
https://trash-guides.info/
MIT License
1.77k stars 222 forks source link

feat(ci): automatic changelog #2005

Closed nuxencs closed 3 months ago

nuxencs commented 3 months ago

Pull Request

Purpose

Automatically generate a changelog from conventional commit messages either weekly or manually.

Approach

Fetch the last time the updates.txt was edited, check all the commits since that date using git log and then filter out bot commits and commits not following conventional commits.

Open Questions and Pre-Merge TODOs

Requirements

bakerboy448 commented 3 months ago

Conceptually looks good to me

got an example/local output to verify?

nuxencs commented 3 months ago

The top 4 runs here https://github.com/nuxencs/Guides/actions/workflows/automatic-changelog.yml

nemchik commented 3 months ago

Conceptually looks good to me

got an example/local output to verify?

https://github.com/nuxencs/Guides/blob/efeb250e47798c1597a05733e956d14e7c3af814/docs/updates.txt is probably what you're asking for https://github.com/nuxencs/Guides/commit/efeb250e47798c1597a05733e956d14e7c3af814 and an example commit