New repositories added on GitHub don't appear automatically in SonarCloud

Hi, I’m implementing sonarcloud in all the repositories on my organization, but I saw that the new repositories that were added after the integration aren’t visible as a project in sonarcloud.

Do you have a way to solve this issue?

Template for a good new topic, formatted with Markdown:

  • ALM used: GitHub
  • CI system used: SonarCloud AutoScan
  • Languages of the repository: NodeJS
  • Steps to reproduce:
    1- Integrate SonarCloud with GitHub, all repositories in that moment should be added.
    2- Create a new repository in GitHub.
    3- Check if SonarCloud has added new the repository.

Hello Javier,

And welcome to the community forum!

This is normal behavior, we currently don’t have any synchronization mechanisms between the repos you create/remove on your GitHub organization and the projects you have on your SonarCloud organization. It might come in the future but we have no detailed plan for now.

When you create a new repo on GitHub you are then supposed to import it on SonarCloud side. Same if you remove a repo on GitHub, you will have to drop it from SonarCloud manually.

To import a project you can click on the + icon on the top right of your screen and choose “Analyze a project”. Then you choose your GitHub org in the list and then you should see appear your new repo in the list and you can import it.

I hope this help!

Hi @jachicao,

Out of curiosity, where in SonarCloud did you expect to see this added repository ?
That would be interesting for us to see where users expect to see that.

Thanks,