feat(github): scan issue & pr titles (#1899)

This commit is contained in:
Richard Gomez 2023-11-22 22:15:27 -05:00 committed by GitHub
parent 0e6e1dce3f
commit 1f502fd42c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1356,7 +1356,7 @@ func (s *Source) chunkIssues(ctx context.Context, repoInfo repoInfo, issues []*g
},
},
},
Data: []byte(sanitizer.UTF8(issue.GetBody())),
Data: []byte(sanitizer.UTF8(issue.GetTitle() + issue.GetBody())),
Verify: s.verify,
}
@ -1455,7 +1455,7 @@ func (s *Source) chunkPullRequests(ctx context.Context, repoInfo repoInfo, prs [
},
},
},
Data: []byte(sanitizer.UTF8(pr.GetBody())),
Data: []byte(sanitizer.UTF8(pr.GetTitle() + pr.GetBody())),
Verify: s.verify,
}