Publish only if we are on master and it is not a pull request.