-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split GitHub comments into multiple comments if plan output is long #1645
Comments
I've got the same error message, we're running in I can see that the comment is patched probably 2-3 times per workflow (each of the sections "Plan output", "Terraform plan validation check" and "Plan summary"?) so we actually end up with the later workflows being able to append their validation + plan summary (because they're still within the limit) but loose the Plan outputs, until all of them fail once the 64kb is filled up. I've tried flipping the Another possible way would be to be able to limit which of the sections that is written to the comment. In my case we would be happy with the A third option would be to just splitting it into multiple comments as it is. |
@agjendem it should be possible to configure split out comments using |
Thanks @motatoes, that actually works for me! (Didn't notice the default value in the docs and had it set to |
GitHub has a max of 65,535 characters per comment. So in case of a long plan output, it is not sent to GitHub comment and throws an error within the Job
Fix would be splitting the comment into multiple comments if it's over that size.
The text was updated successfully, but these errors were encountered: