smarkets/marge-bot

Add commit message check to marge bot

arvidj opened this issue · 1 comments

It would be convenient if marge-bot could be configured to disallow the merging MRs whose history contains commits matching a set of patterns. In our project, commits messages should always match "Component: action" and in particular we shall not merge fixups (i.e. "fixup!") nor applied suggestion commits (i.e. "Apply 9 suggestion(s) to 1 file(s)").

This is slightly related to #16 and #296.

dgroh commented

Use commitlint for that. You can configure your own pattern.