w3c / aria

Accessible Rich Internet Applications (WAI-ARIA)
https://w3c.github.io/aria/
Other
650 stars 125 forks source link

adding to gh to better enable changelogs #1807

Open jnurthen opened 2 years ago

jnurthen commented 2 years ago

From discussion at TPAC Sarah will help enable better changelogs

jnurthen commented 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.