Option of the release comment posted on the pull request or merge request - update the previous comment, add a new one, or replace it with a new one.
What the comment contains, how the pull request is found and the tokens it needs: PR Comments. In relizy release, the comment is posted when release.prComment is true (the default).
Edits the previous comment of Relizy, or adds one when there is none
One, where it was first posted
append
Adds a new comment at each run
One per run
recreate
Adds a new comment, then deletes the previous one
One, always at the bottom
Relizy finds its previous comment by a hidden marker (<!-- relizy-pr-comment -->). On a long pull request, GitHub and GitLab collapse the older comments: with update, the comment can end up hidden among them; recreate keeps it in sight, at the end of the conversation. When the new comment fails to post, the previous one stays.
The mode applies to the merge preview too, except append: the merge preview keeps a single comment, updated with update and append, recreated with recreate.
PR Comment Configuration
Option of the release comment posted on the pull request or merge request - update the previous comment, add a new one, or replace it with a new one.
What the comment contains, how the pull request is found and the tokens it needs: PR Comments. In
relizy release, the comment is posted whenrelease.prCommentistrue(the default).mode
'update' | 'append' | 'recreate''update'updateappendrecreateRelizy finds its previous comment by a hidden marker (
<!-- relizy-pr-comment -->). On a long pull request, GitHub and GitLab collapse the older comments: withupdate, the comment can end up hidden among them;recreatekeeps it in sight, at the end of the conversation. When the new comment fails to post, the previous one stays.--pr-comment-mode <mode>overrides it for a run, onrelizy release,relizy pr-commentandrelizy merge-preview.The mode applies to the merge preview too, except
append: the merge preview keeps a single comment, updated withupdateandappend, recreated withrecreate.