chore(github): add a newline between titles and bodies (#2124)

This commit is contained in:
Richard Gomez 2023-11-23 19:14:28 -05:00 committed by GitHub
parent 1f502fd42c
commit 024aa056b9
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.GetTitle() + issue.GetBody())),
Data: []byte(sanitizer.UTF8(issue.GetTitle() + "\n" + issue.GetBody())),
Verify: s.verify,
}
@ -1455,7 +1455,7 @@ func (s *Source) chunkPullRequests(ctx context.Context, repoInfo repoInfo, prs [
},
},
},
Data: []byte(sanitizer.UTF8(pr.GetTitle() + pr.GetBody())),
Data: []byte(sanitizer.UTF8(pr.GetTitle() + "\n" + pr.GetBody())),
Verify: s.verify,
}