Prevent commits with malformed commit message
Background
We want to ensure that all commits can easily be traced back to a canonical ticket and having uniform commit messages helps with that. For the sake of unity we agreed on issues.adblockplus.org as the location for such tickets while managing our internal workflow using GitLab tickets which led to a couple of hiccups along the way.
What to change
- Prevent commits to be merged into any release branch that have a commit message that corresponds to neither
Noissue - Make this change
norIssue #1234 - Make this change
. - Optionally, we could also check whether the referenced GitLab issue exists, is still open and has the ~"State::Implementation Review (ABPUI)" label.
Edited by Thomas Greiner