Even if the PR size is over l_max_size, this actions fails to comment to the PR with the following message:
This is because #50 changed the sanitiation logic of arguments:
For example, before #50
$ a="--message_if_xl=\"This PR exceeds the recommended size of 1000 lines (additions + deletions). Please make sure you are NOT addressing multiple issues with one PR and split the PR if necessary.\""
$ echo "$a" | tr -d '\n'| sed "s/'//g"| sed "s/β//g"
--message_if_xl="This PR exceeds the recommended size of 1000 lines (additions + deletions). Please make sure you are NOT addressing multiple issues with one PR and split the PR if necessary."
the argument contains ".
However, after #50
$ echo "$a" | tr '\n' ' ' | xargs echo | sed "s/'//g"| sed "s/β//g"
--message_if_xl=This PR exceeds the recommended size of 1000 lines (additions + deletions). Please make sure you are NOT addressing multiple issues with one PR and split the PR if necessary.
What type of PR is this? (check all applicable)
Description
Even if the PR size is over
l_max_size
, this actions fails to comment to the PR with the following message:This is because #50 changed the sanitiation logic of arguments:
For example, before #50
the argument contains
"
.However, after #50
the argument loose
"
.How to test
Without Quotes
With Quotes