Sonarqube error :

Hello
I did a scan and it threw me the following: The main branch of this project is empty.

image

It seems you have run an (maybe initial) analysis and sonar.branch.name != master (default main branch), but the main branch hasn’t been analysed so far.