The repository auto-import feature gives you the ability to have all repos import automatically. With this feature turned "on" any new repo you create will automatically be imported into your account. Find an overview of the feature and its advanced settings.
The auto-import feature can be found on any integration, however the advanced settings are only available for Git based Integrations.
To locate and adjust the auto-import settings, go to the top navigation bar and click Settings. Use the left navigation under Integrations, click Integrations, then click on a Git integration.
On the Repos tab of the integration page, you will see what groups you have enabled auto-import for. You can turn this feature on or off at any point.
The auto-import advanced settings allow you to exclude specific repos or groups of repos from being auto-imported into your account. You can locate the advanced settings on the integration page under the Repo exclusions tab. You can exclude repos from being auto-imported in three different ways:
- Exclude Repos by Name - This rule will exclude a repo by name. If the repo you wish to exclude is already imported, it will be deleted.
- Exclude Repos by Regular Expression - This rule will exclude any repo that matches your regular expression. It will only apply to non-imported repos.
- Exclude Repos by Date - This rule will allow you to exclude repos by a specific date or a range of dates (older than or younger than).
Exclude Repos by Name
Exclude any repo (imported or available) by name using this setting.
Click Add More to locate repos by name.
Type in the name of the repo you would like to exclude. If the repo is already imported it will be labeled as imported, as depicted below.Once you have selected the repo you would like to exclude, you will be prompted to confirm your action. Click Yes if you would like to proceed. Once you've confirmed your choice, the repo will no longer be imported when the auto-import feature is turned on for this integration.
Exclude Repos by Regular Expression
Exclude one or multiple repos by regular expression. These rules do not apply to already imported repos. If you would like to exclude any imported repos you will need to first delete them from Flow.
Click Add Rule to locate repos by name. Enter your regular expression, then choose whether to match on repo name or group name. You can also filter down to a specific group within your integration if necessary. Click Save. You will be prompted to confirm your action. Click Yes if you would like to proceed.
Any repo that matches this regular expression will not be imported when the auto-import feature is turned "on" for this integration.
Exclude Repos by Date
Exclude repos by date. Any rule added here will not apply to any repos that are already imported. If you would like to exclude any imported repos you will need to first delete them from Flow.
Click Add Date. In this modal you can select a specific date from the calendar the choose whether you want to exclude repos older or younger than the date. You can also filter down to a specific group within your integration if necessary. Click Save.
You will be prompted to confirm your action. Click Yes if you would like to proceed.
If you need help, please email email@example.com for 24/7 assistance.