Open ktreptow opened 3 years ago
The errors are from the GitHub API itself, not sure if it's really viable to truncate it for people, do you expect this resource to slice it up into chunks of comments?
Perhaps the resource could upload a snippet and post a comment with the link, e.g. https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files
Unfortunately, there is no hope that you get any further support here (#246 was 2+y ago).
But recent news is that the Cloud Foundry community is now maintaining a fork of this resource at cloudfoundry-community/github-pr-resource.
On our Concourse installation at Gstack, that one is working fine. Could you give a try and provide feedback there?
_(the new resource is a drop-in replacement; you only have to switch telia-oss
to cfcommunity
in in the resource_types:
declaration, i.e. specify repository: cfcommunity/github-pr-resource
)_
Hi everyone! I'm currently experiencing the following problem while trying to comment on a pr.
put failed: failed to post comment: POST https://.../1731/comments: 422 Validation Failed [{Resource:IssueComment Field:data Code:unprocessable Message:Body is too long (maximum is 65536 characters)}]
Is there any way to either shorten the message or increase the maximum character number? Thanks!