Skip to content

Commit

Permalink
feat(github): scan issue & pr titles
Browse files Browse the repository at this point in the history
  • Loading branch information
rgmz committed Oct 30, 2023
1 parent 0427985 commit bac45cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sources/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down Expand Up @@ -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,
}

Expand Down

0 comments on commit bac45cc

Please sign in to comment.