pr_labeler: improve create_boilerplate_comment logging

This commit is contained in:
Maxwell G
2023-10-04 18:28:05 +00:00
parent e43d253f6c
commit 5730ba9a01

View File

@@ -166,7 +166,10 @@ def create_boilerplate_comment(ctx: IssueOrPrCtx, name: str, **kwargs) -> None:
if comment.body.splitlines()[-1] == last:
log(ctx, name, "boilerplate was already commented")
return
log(ctx, "Templating", name, "boilerplate")
msg = f"Templating {name} boilerplate"
if kwargs:
msg += f" with {kwargs}"
log(ctx, msg)
create_comment(ctx, tmpl)