code: async function getRepos(token, endpoint) {
    logger.info('Autodiscovering GitLab repositories');
    logger.debug('getRepos(token, endpoint)');
    const opts = hostRules.find({ platform: 'gitlab' }, { token, endpoint });
    if (!opts.token) {
      throw new Error('No token found for getRepos');
    }
    hostRules.update({ ...opts, platform: 'gitlab', default: true });
    try {
      const url = `projects?membership=true&per_page=100`;
      const res = await get(url, { paginate: true });
      logger.info(`Discovered ${res.body.length} project(s)`);
      return res.body.map(repo => repo.path_with_namespace);
    } catch (err) {
      logger.error({ err }, `GitLab getRepos error`);
      throw err;
    }
  }
docs: Get all repositories that the user has access to