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.