aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/modules/platform/gitea/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/modules/platform/gitea/index.ts')
-rw-r--r--lib/modules/platform/gitea/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/modules/platform/gitea/index.ts b/lib/modules/platform/gitea/index.ts
index 697be51f84b..31450e6c448 100644
--- a/lib/modules/platform/gitea/index.ts
+++ b/lib/modules/platform/gitea/index.ts
@@ -70,6 +70,7 @@ interface GiteaRepoConfig {
labelList: Promise<Label[]> | null;
defaultBranch: string;
cloneSubmodules: boolean;
+ cloneSubmodulesFilter: string[] | undefined;
hasIssuesEnabled: boolean;
}
@@ -255,6 +256,7 @@ const platform: Platform = {
async initRepo({
repository,
cloneSubmodules,
+ cloneSubmodulesFilter,
gitUrl,
}: RepoParams): Promise<RepoResult> {
let repo: Repo;
@@ -262,6 +264,7 @@ const platform: Platform = {
config = {} as any;
config.repository = repository;
config.cloneSubmodules = !!cloneSubmodules;
+ config.cloneSubmodulesFilter = cloneSubmodulesFilter;
// Try to fetch information about repository
try {