update max length for issue
This commit is contained in:
parent
f492e2cd84
commit
c4771a8793
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ func (a *approvalEnvironment) createApprovalIssue(ctx context.Context) error {
|
|||
}
|
||||
a.approvalIssueNumber = a.approvalIssue.GetNumber()
|
||||
|
||||
bodyChunks := splitLongString(a.issueBody, 65)
|
||||
bodyChunks := splitLongString(a.issueBody, 65536)
|
||||
for _, chunk := range bodyChunks {
|
||||
_, _, err = a.client.Issues.CreateComment(ctx, a.targetRepoOwner, a.targetRepoName, *a.approvalIssue.Number, &github.IssueComment{
|
||||
Body: &chunk,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue