feat(validate-pr): Allow `docs()` commits to be merged in master
feat(validate-pr): Allow `docs()` commits to be merged in master

I've added the possibility to push `docs()` commits when doing a PR to
master. Previously only messages containing the word `hotfix` could
pass the test. This should allow us more flexibility in fixing
documentation issues.

The public website is automatically build whenever a new commit lands
on master.

I've also refactored the file to follow linting advice from
`shellcheck` and make the three tests (hopefully) more readable.

algolia/react-instantsearch,algolia/instantsearch.js,algolia/react-instantsearch,algolia/react-instantsearch,algolia/instantsearch.js,algolia/instantsearch.js,algolia/react-instantsearch