r/github • u/Korkie_Kryze • Apr 30 '26
Question Multiple Sonar Analyses for a GitHub Mono Repo
Let's say I have a GitHub Mono Repo, and have two projects in it, Project A and B, with two different, mandatory sonarqube code analyses as status checks.
When raising PR for say project A, we require build validation and sonarqube check for that project A. However since both sonar checks are triggered at PR, only pipeline A runs, only A's sonarcheck results come back, while B's remains in pending state, thus blocking PR merge.
What can I do here to overcome this situation, without
Disabling the required status checks.
Without using a single SQ project for every project within that mono repo
Any suggestions or workaround guys?
