Sonarcloud - quality check for entire codebase

Hi, at the moment Sonar check only checks if the new code is not below the threshold.

This is the default behaviour according to Pull Request Analysis | SonarQube Docs (Pull request Quality Gate)

Is there any way to configure Sonar to perform a quality check of the entire codebase on each pull request?

Hey there.

Pull Request Analysis focuses on the new code, and only the new code. We really think this makes sense – as a developer focusing on their pull request shouldn’t be concerned about the code they aren’t changing. It’s not possible to configure SonarCloud otherwise.

Once it’s merged, a full analysis will run on that branch.