Importing monorepo into SonarCloud

I read an article about converting an existing project to a SonarCloud monorepo and it indicated that I could add new keys to the existing project, but I don’t see how to do that.

If I click on Import New Project, I am unable to select a (private) repo that has already been imported.

Changing the Admin option to Enable Monorepo does not seem to do anything.

What I want to do is:

  • Create a SC project for each folder in one GH repo, each with its own key
  • Create two GH Action workflows, one for each source folder
  • Each workflow reports the coverage for its folder to a separate SC project

Sound plausible? How do I add new keys to an existing repo, or create two projects for the same repo?

Hey there.

You might have missed the link :see_no_evil: Sometimes I do too.