Open
Description
What problem would this feature solve?
Currently, the only output we can get from the action is the steps.calibre.outputs.markdown
which uses either the pr-comment.md
or the inline-pr-comment-with-diff.md
. In certain cases, this template is too big to be used as an environment variables on the Actions runner causing an Error: Argument list too long
error.
Describe the solution you’d like to see
I would like to see something like a pr-comment-minimal.md
where you only show the comments and numbers without the big table with all the images and changes that happened.
eg:
Images automagically compressed by Calibre's image-actions ✨
Compression reduced images by <%- overallPercentageSaved %>%, saving <%- overallBytesSaved %>.
<% if(unoptimisedImages.length) { -%> <%- unoptimisedImages.length %> <%- unoptimisedImages.length > 1 ? 'images' : 'image' %> did not require optimisation. <% } %>
Describe alternatives you’ve considered
Alternative is to not use the output of this action on follow up actions (like the create-pull-request
one).
Additional context
N/A