Skip to content

Commit

Permalink
Include dotnet/format in the repo list
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmalinowski committed May 23, 2020
1 parent 56c7a34 commit 2b2e63f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ void AddToCategory(string category, PullRequest pullRequest)

private static async Task<ImmutableArray<PullRequest>> GetAllPullRequests(GitHubClient github)
{
var format = github.PullRequest.GetAllForRepository("dotnet", "format", new ApiOptions { PageSize = 100 });
var roslyn = github.PullRequest.GetAllForRepository("dotnet", "roslyn", new ApiOptions { PageSize = 100 });
var roslynAnalyzers = github.PullRequest.GetAllForRepository("dotnet", "roslyn-analyzers", new ApiOptions { PageSize = 100 });
var roslynSdk = github.PullRequest.GetAllForRepository("dotnet", "roslyn-sdk", new ApiOptions { PageSize = 100 });
var roslynTools = github.PullRequest.GetAllForRepository("dotnet", "roslyn-tools", new ApiOptions { PageSize = 100 });

var allPullRequests = await Task.WhenAll(roslyn, roslynAnalyzers, roslynSdk, roslynTools);
var allPullRequests = await Task.WhenAll(format, roslyn, roslynAnalyzers, roslynSdk, roslynTools);

return allPullRequests.SelectMany(prs => prs).OrderByDescending(pr => pr.CreatedAt).ToImmutableArray();
}
Expand Down

0 comments on commit 2b2e63f

Please sign in to comment.