Skip to content

Calmer PR Comments

Compare
Choose a tag to compare
@adamhenson adamhenson released this 18 Apr 21:08
· 98 commits to master since this release

This release adds support for calmer PR comments. When PR commenting is enabled, only one comment is left reflecting Lighthouse audits unless the user specifies they want new comments on every change (new prCommentSaveOld option). On every change if a comment exists, it will be updated with new scores.

  • Adds prCommentEnabled option (defaults to true as a non-breaking change).
  • Adds prCommentSaveOld option to allow comments to post every time (preserving old ones). This is the current behavior which will now need to be opted into.
  • Updates comment if it exists, otherwise posts new. If prCommentSaveOld is set to true - always posts new.

Thanks to @schoenwaldnils for raising this issue in #18.