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 totrue
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 totrue
- always posts new.
Thanks to @schoenwaldnils for raising this issue in #18.