feat(catalog-backend-module-gitlab): Added option to skip forked repos

Signed-off-by: alessandro <alessandro.manno@facile.it>
This commit is contained in:
alessandro
2023-03-23 16:13:34 +01:00
parent 19919554f2
commit 66261b4ab4
4 changed files with 20 additions and 1 deletions
+2
View File
@@ -109,3 +109,5 @@ export default async function createPlugin(
```
If you don't want create location object if file with component definition do not exists in project, you can set the `skipReposWithoutExactFileMatch` option. That can reduce count of request to gitlab with 404 status code.
If you don't want to create location object if the project is a fork, you can set the `skipForkedRepos` option.