We have a monorepo with 2 projects at the root of the repository:
api
webapp
api use Maven/Java/sonar
webapp use npm/typescript/sonar
We setup pull request decorations using sonarcloud.io Circleci and GitHub
Since we can have 2 separate analysis in the same pull-request containing change into api and webapp, how to have 2 distincts decoration in GitHub checks on the pull request, one for the api, another for the webapp?
The short answer is that either you must reorganize your setup to analyze both projects in a single analysis, or create two separate SonarQube projects.
I’m closing this topic as a duplicate, please follow the discussion in the other thread.