mercari / tfnotify

A CLI command to parse Terraform execution result and notify it to GitHub
MIT License
619 stars 91 forks source link

shorten too long github comment #117

Closed FeLvi-zzz closed 2 years ago

FeLvi-zzz commented 2 years ago

WHAT

I shorten too long results commented to GitHub.

WHY

When you try to comment too long message, GitHub API will return error, and nothing is commented to PR.

POST https://api.github.com/repos/<owner>/<repo>/issues/<pr number>/comments: 422 Validation Failed [{Resource:IssueComment Field:data Code:unprocessable Message:Body is too long (maximum is 65536 characters)}]
FeLvi-zzz commented 2 years ago

@drlau I'd like to use the new version, could you release it?

FeLvi-zzz commented 1 year ago

related https://github.com/mercari/tfnotify/issues/34