disallow commit when build fails