Quality Gate

You might say

Why is my Pull Request blocked with an error saying 'Quality gate failed'?

A set of conditions that decide whether code may be merged or a release may proceedAll tests may pass while coverage remains below the agreed 80%, keeping a pull request blocked. Checks produce results and the gate evaluates them; branch protection must require that result to enforce the merge restriction.
Know first
Quality Gates
Further reading