Main branch not being analysed

  • ALM used
    GitHub

  • CI system used
    Azure DevOps

  • Scanner command used when applicable (private details masked)
    n/a

  • Languages of the repository
    dotnet

  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
    Using a GitHub action to run SonarCloud scan. It runs and I get an ANALYSIS SUCCESSFUL message in the logs but when I go to the SonarCloud dashboard, under “Main branch” I get the following message "develop" branch has not been analyzed yet and you have multiple branches already. It looks like it is not your Main Branch, check your configuration.

How can I resolve this message?

Hi,

Welcome to the community!

Have you analyzed the develop branch?

 
Ann