Closed rcdailey closed 2 years ago
For "short-lived" branches SonarCloud only scans "new" code by default, maybe that could be the reason? When it's merged to main/master all code will be scanned.
https://sonarcloud.io/documentation/enriching/branch-analysis/#short-lived-branch-analysis
It's possible to change the definition of "long-lived" branches in the SonarCloud dashboard under the Branches tab, so a feature branch would get all its code scanned.
It's also possible to change the definition of what "new" code is
I'm really late to this, but I think you solved my problem. Everything is working at this point. Thank you for the help. I'll close this one out.
I followed the instructions in your main
README.md
and ended up with this workflow job (from this file):Here is the resulting build, which succeeded. However, the sonarcloud summary page for that branch shows no issues, and the code tab is blank!
What am I doing wrong?