We have written sonarcloud stage to intercept specific branch. However, I see the analysis is done on both Main Branch and the branch for which we initiated sonarcloud. Just curious to know, how does it works?
Attaching Screenshot for reference. We applied sonar scanning only on child branches not on Main Branch. I would like to understand the behavior.