Develop branch analysis using CircleCi

Hello,

We have a code repository in GitHub which uses “develop” branch instead of main branch where all the PRs get merged.
We are also using CircleCi as our CI/CD solution and invoke Sonarcloud scan using CircleCi ORB.

However, we are never seeing the source code and the scan results sync to Sonarcloud when this happens.

We have seen this issue only for the repositories which use the “develop” branch and everything works fine when using the Main branch.

How can we overcome this issue? We cannot get rid of the “develop” branch as it would entail redoing our Github repo and there are several repos which are impacted by the issue.

Hello @ashish2_sapra2 ,

Are you using the official SonarCloud CircleCI Orb? Can you check if the orb is correctly invoked for the develop branch as well?

Yes, we are using the official Sonarcloud CicleCi Orb and is being correctly invoked for the develop branch.