My organization is currently trialing SonarCloud, and while most things have been working great, we’ve had some trouble around the branch and PR analysis on our private projects.
What we’re seeing is that unless we turn on the “Only build pull requests” settings we have intermittent PR decoration. We are fine with turning that setting on, but this precludes us from having branch analyses (since Circle CI won’t kick off on commit with that setting turned on).
With the setting turned off, it’s often a case of whether or not the PR already exists at build time that decides if PR decoration works.
Ideally, we would like to have both branch and PR analyses run, but we haven’t been able to get them both working reliably at the same time.
Is there something we can tweak to get both branch and PR analysis running at the same time?