The SonarCloud check should be enforced on pull requests so that code cannot be merged when SonarCloud did not succeed. It seems to be configured like this but in our pull requests it is not enforced.
We have 8 pipelines in Azure Devops, which are executed on branch.
Branch policies also set in Azure Devops (Repository settings).Build Validations and Status Checks.
These status checks are enabled on branch policies but they are prompted as optional on the PR.
We want to make Sonar Quality check as a Required check and fail pipeline if Sonar Quality is failed.