Only do pre-commit on master branch