GitLab: include subgroups when filtering on groups (#54)

This commit is contained in:
Jellyfrog 2024-10-29 23:05:18 +01:00 committed by GitHub
parent f4c7354037
commit 26779dd84d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,6 +25,7 @@ export const getGitLabReposFromConfig = async (config: GitLabConfig, ctx: AppCon
logger.debug(`Fetching project info for group ${group}...`);
const { durationMs, data } = await measure(() => api.Groups.allProjects(group, {
perPage: 100,
includeSubgroups: true
}));
logger.debug(`Found ${data.length} projects in group ${group} in ${durationMs}ms.`);