Update PR comment behavior for on-failure mode#941
Update PR comment behavior for on-failure mode#941sgmurphy wants to merge 2 commits intoactions:mainfrom
on-failure mode#941Conversation
When comment_summary_in_pr is set to 'on-failure', the action now updates existing comments when issues are resolved in subsequent runs, providing clear feedback that dependency issues have been fixed.
fb6f77d to
f21eb50
Compare
|
Hey @dangoor 👋 , any chance I could get a review 👀 on this? |
|
👋 This pull request has been marked as stale because it has been open with no activity for 180 days. You can: comment on the PR or remove the stale label to hold stalebot off for a while, add the |
|
This is still very important to me! |
|
Hey @sgmurphy , Came across your GitHub profile while checking recent PR activity — really liked your work 👀 Quick question — do PR reviews ever slow you down? I’m building Mesrai AI — it connects to GitHub and reviews PRs and changes instantly (bugs, improvements, suggestions) before human review. You can try it here — free & quick setup (~1 min): Would really appreciate your feedback — I’m building this to solve real PR review problems, and your input would be super valuable 🙌 |
Summary
on-failuremode to update existing comments when issues are resolvedChanges
comment-pr.tsto handle success cases in on-failure mode by updating existing commentshasExistingCommenthelper function to check for existing dependency review commentsTest plan
Demo
Live demonstration of the enhanced functionality:
Demo 1: Enhanced
on-failuremode behaviorsgmurphy/fictional-garbanzo#1
on-failuremodeDemo 2:
nevermode validationsgmurphy/fictional-garbanzo#2
comment-summary-in-pr: neverproperly suppresses all comments