Sonarqube Enterprise full and incremental scanning

We’ve integrated SonarQube scans into our GitHub Actions workflow. With our frequent code changes, does SonarQube Enterprise scan only the new code or the entire repository with each change?

Sonarqube enterprise version: 9.9 LTS

+++up

Hi,

It depends entirely on the context. For PR analysis, only changed code is analyzed. In main/branch analysis, everything is analyzed.

 
HTH,
Ann