// Display repo info
GitHubClientOAuthServer client =
new GitHubClientOAuthServer(System.getenv(GITHUB_CLIENT_ID), System.getenv(GITHUB_CLIENT_SECRET) );
map.put("repo", null);
map.put("githubcontents", null);
RepositoryService service = new RepositoryService(client);
map.put("repo", service.getRepository(repoId));
// Prepare Salesforce metadata metadata for repository scan
RepositoryScanResult repositoryScanResult = new RepositoryScanResult();
RepositoryItem repositoryContainer = new RepositoryItem();
repositoryContainer.repositoryItems = new ArrayList<RepositoryItem>();