jacob-macleod / Dolphin-Flashcard-App

http://www.dolphinflashcards.com
MIT License
3 stars 5 forks source link

Add CHANGELOG.md validation to Pipeline #163

Open jacob-macleod opened 2 months ago

jacob-macleod commented 2 months ago

Add changelog validation to the config so that when making a merge request, the changelog is read to make sure in has a correct format and the latest version is correct (it has been incremented to store the same value as backend/__init__.py). You'll need to add to the bump_version.sh script in https://github.com/jacob-macleod/Dolphin-Flashcard-App/blob/main/.github/workflows/bump_version.yml.

I would recommand using kacl-cli, which can be installed with pip. kacl-cli current gets the latest version in the changelog and kacl-cli verify verifies if the changelog is correct

Let me know if you have any questions