Open jnurthen opened 2 years ago
respec allows one to write a custom filter for commit messages. We should add some logic such that the commit messages need to meet some standard when merging PRs (we normally squash so we could do that at this point). A first draft of a filter for current PRs would be something like
function removeCommits({ message }) {
return !/^Merge pull|^tidy|^TRAVIS|^Generated by|respec|^(editorial)|^editorial|^Editiorial|^edtiorial|^chore|^refactor|^tests?|^docs|typo|^nit/i.test(message);
}
but I'd love to come up with some automation for this step so I can't mess it up in future and correctly flag editorial PRs so they don't get added to the log.
From discussion at TPAC Sarah will help enable better changelogs