bytesparadise / libasciidoc

A Golang library for processing Asciidoc files.
Apache License 2.0
196 stars 23 forks source link

Add commit message linter #700

Open moorereason opened 4 years ago

moorereason commented 4 years ago

Enforce Angular Commit Message Guidelines within GitHub.

xcoulon commented 4 years ago

I need to see if such a linter already exist (as a GitHub Action would be ideal)

moorereason commented 4 years ago

The most popular GH Action appears to be https://github.com/wagoid/commitlint-github-action.

There's a simple GH App here: https://github.com/zeke/semantic-pull-requests.

xcoulon commented 4 years ago

cool, thanks for the links @moorereason! I'll give it a try soon

gdamore commented 4 years ago

Is there some meaningful tooling that consumes these commit messages? TBH I really find them to be kind of a pain -- I've not seen them used anywhere else before.

xcoulon commented 4 years ago

yes, I generate the changelog that appears on https://github.com/bytesparadise/libasciidoc/releases using https://github.com/conventional-changelog/conventional-changelog and it parses the commit message to determine the type commit it was, and the scope.