Auto-importing new repositories

How to automatically import new or added repositories from your GitHub organization.

This feature is supported for GitHub organizations only.

About this feature

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.

circle-exclamation
circle-info
  • 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 details.

  • Existing repositories in GitHub created prior to enabling the Auto-import new GitHub repositories feature are excluded.

Enabling / disabling the Auto-import of new GitHub repositories

  1. Retrieve your organization. See Retrieving your organizations for more information.

  2. Go to Administration > Organization settings > Organization binding.

  3. In Automatically import new GitHub repositories, select or unselect the option.

Select or unselect the toggle to enable or disable the auto-import feature.
circle-info
  • You can also enable the feature during the import of a new organization. See Importing GitHub organization.

  • You can bulk import all existing repositories in your organization (in beta).

Monitoring the Auto-import of new GitHub repositories

To check for failed imports:

  1. Retrieve your organization. See Retrieving your organizations for more information.

  2. 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?