Skip to content

Commit

Permalink
Only return issues for invalid customer issues report. (#1271)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdenny authored Dec 10, 2020
1 parent 375351b commit c06af31
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ private bool ValidateCustomerReportedIssues(ReportExecutionContext context, Repo
tc.DefineTableColumn("Issues Found", i => i.Note);

List<ReportIssue> issuesWithNotes = new List<ReportIssue>();
foreach (Issue issue in context.GitHubClient.SearchForGitHubIssues(CreateQuery(repositoryConfig)))

SearchIssuesRequest searchRequest = CreateQuery(repositoryConfig);
searchRequest.Type = IssueTypeQualifier.Issue;

foreach (Issue issue in context.GitHubClient.SearchForGitHubIssues(searchRequest))
{
if (!ValidateIssue(issue, out string issuesFound))
{
Expand Down

0 comments on commit c06af31

Please sign in to comment.