I'm using pipelines in Bitbucket and PHPUnit code. Validation is done on every git push. I would like to know if it is possible to cancel push (don't commit changes) when validation doesn't pass. At the moment, git push pushes the committed code even if pipelines validation doesn't pass.
Any suggestions/recommendations would be great!