Auto-importing new repositories
How to automatically import new or added repositories from your GitHub organization.
Last updated
Was this helpful?
How to automatically import new or added repositories from your GitHub organization.
This feature is supported for GitHub organizations only.
With the Auto-import feature, newly added or created repositories in your GitHub organization are automatically imported into SonarQube Cloud. It means that existing repositories in GitHub created prior to enabling the Auto-import new GitHub repositories feature are excluded.
The feature is enabled by default when you import your GitHub organization, though you can choose to disable it during the import process. You can also enable or disable this feature at any time within your SonarQube Cloud organization settings.
When applicable, auto-scan is applied to the projects created through the Auto-import. See Automatic analysis for more information.
As a prerequisite for the feature, All repositories must be selected in GitHub’s Repository Access settings for your organization. See Modifying the repository access rights of the organization for more information.
A sudden spike in new repositories might cause you to reach your organization plan limits and pause analysis. Ensure your plan grants enough private lines of code. See Changing the LOC limit of your subscription for more information.
Repositories in GitHub that were created prior to enabling the Auto-import feature are excluded from automatic import. However, you can use the bulk import option to import all existing repositories in your organization. See Bulk importing all repositories for more information.
Retrieve your organization. See Retrieving your organizations for more information.
Go to Administration > Organization settings > Organization binding.
In Automatically import new GitHub repositories, select or unselect the option.

You can also enable the feature during the import of a new organization. See Importing GitHub.com organization.
To check for failed imports:
Retrieve your organization. See Retrieving your organizations for more information.
Go to Administration > Organization settings > Organization binding. Possible failed imports are indicated below the Automatically import new GitHub repositories section.
Last updated
Was this helpful?
Was this helpful?

