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
Fix the max comment length issue #767
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work around for the max length issue 👍 Did you need this PR merged for your demo? If not immediate, let's remove some of the duplication like you mentioned and add some tests for getMinSummaryForComment
Also is there a test repo you were running this against?
): Promise<void> { | ||
const commentContent = summary.stringify() | ||
|
||
core.setOutput('comment-content', commentContent) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we want to remove setting comment-content
completely?
@jhutchings1 can I help get this merged? we're starting to see this happen with dependency-review frequently. |
This was enough to unblock my demos, but I would love for the team to take
this across the line if you have cycles. @bteng22, happy for an assist
here!
Justin Hutchings | Senior Director of Product Management | GitHub -
Security | <https://www.github.com/jhutchings1>
<https://www.linkedin.com/in/hutchingsjustin/>
<https://www.linkedin.com/in/hutchingsjustin/>
…On Wed, May 15, 2024 at 11:05 PM Cameron Cooper ***@***.***> wrote:
@jhutchings1 <https://github.com/jhutchings1> can I help get this merged?
we're starting to see this happen with dependency-review frequently.
—
Reply to this email directly, view it on GitHub
<#767 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCCCIYSVZNBWD3OK26B7OLZCOBUTAVCNFSM6AAAAABHIFIIC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJSHEZTQNRTGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I ran into #730 in a demo I was building, so I threw together a quick fix for the issue. Now it'll generate a minimum comment. It's not super elegant (a bit of code duplication), but I was in a hurry to unblock the demo. I don't mind if the team decides to make some tweaks to make this less duplicative.
Fixes #730