Update pre-commit hook to only require passing tests on the master branch
yaml doesn't like tabs :(