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

Split PR comment if it is too long #303

Open
ofilippov-vitech opened this issue Oct 17, 2023 · 3 comments
Open

Split PR comment if it is too long #303

ofilippov-vitech opened this issue Oct 17, 2023 · 3 comments

Comments

@ofilippov-vitech
Copy link

Version:

thollander/actions-comment-pull-request@v2

Issue:

Run thollander/actions-comment-pull-request@v2
Error: An error occurred trying to start process '/home/runner/runners/2.310.2/externals/node16/bin/node' with working directory '/home/runner/work/somerepo/somerepo'. Argument list too long

The comment I am trying to add to PR is terraform plan, which size is bigger than can be added.

Possible solution

Ideally, PR comment might be divided into several parts and added one by one in PR

@dspv
Copy link

dspv commented Jan 18, 2024

What's the length allowed currently?

@kopax-polyconseil
Copy link

kopax-polyconseil commented Jan 22, 2024

These limitation should be clearly stated in README.md :(

https://github.com/dead-claudia/github-limits?tab=readme-ov-file#issue-description 65536 characters

@kopax-polyconseil
Copy link

I've implemented the feature for a new message in a fork, in case you want to integrate it here :
https://github.com/pass-culture-github-actions/comment-pull-request/blob/main/src/main.ts#L79

I was too lazy to integrate it for update etc... reason why I didn't open a PR.

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

No branches or pull requests

3 participants