Prevent commit if quality gates is not passed

Is possible to block any commit that doesn’t passed quality gates? i only know thats is possible for Pull Request.

Hey there.

What DevOps platform are you using (Github, Gitlab, Bitbucket, Azure DevOps…)

Hello Colin. I’m using github with github action