Skip to content
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

Add handling of long PR comments #72

Merged
merged 5 commits into from
May 24, 2024
Merged

Add handling of long PR comments #72

merged 5 commits into from
May 24, 2024

Conversation

denis256
Copy link
Member

@denis256 denis256 commented May 23, 2024

Description

Updated GitHub action to handle long PR comments.

Fixes #71.

Example output:

image

However, long outputs may be rejected by Github:

{
  "message": "Validation Failed",
  "errors": [
    {
      "resource": "IssueComment",
      "code": "unprocessable",
      "field": "data",
      "message": "Body is too long (maximum is 65536 characters)"
    }
  ],
  "documentation_url": "https://docs.github.com/rest/issues/comments#create-an-issue-comment"
}

Release Notes (draft)

Added / Removed / Updated [X].

Updated action comment flow to handle long comments

Migration Guide

N/A

Copy link

@levkohimins levkohimins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@denis256 denis256 merged commit cf35563 into main May 24, 2024
5 checks passed
@denis256 denis256 deleted the bug/jq-args-71 branch May 24, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Action fails with error jq: Argument list too long
2 participants