"main" branch has not been analyzed yet and you have multiple branches already. It looks like it is

I think the reason its not scanning is due to the number of lines exceeding my current subscription. I went into the configuration and added a bunch of exclusions based on the output of ‘cloc .’, for example, I don’t need to scan css files, by excluding css I am well under the 10k limit.

Is there a way I can now force the entire main branch to be scanned again?

Hey there.

Are you using Automatic Analysis?

If so – the easiest way will be to have a new commit pushed to your main branch (it could be as simple as updating the .sonarcloud.properties file.

If you’re using CI-based analysis, your CI/CD tool should let you trigger a new workflow run which runs analysis.