diff --git a/dist/index.js b/dist/index.js
index 22390fc..a9d76b8 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -45761,9 +45761,7 @@ async function main() {
// Comment on the PR with the summary, if requested.
if (inputs.pr_comment) {
const commentID = await findCommentOnPR(lib_github.context, github);
- await commentOnPR(lib_github.context, github, commentID, `The latest Buf updates to your PR.` +
- `Results from workflow ${lib_github.context.workflow} / ${lib_github.context.job} (pull request).` +
- `\n\n${summary.stringify()}`);
+ await commentOnPR(lib_github.context, github, commentID, `The latest Buf updates to your PR. Results from workflow ${lib_github.context.workflow} / ${lib_github.context.job} (pull request).\n\n${summary.stringify()}`);
}
// Write the summary to a file defined by GITHUB_STEP_SUMMARY.
// NB: Write empties the buffer and must be after the comment.
diff --git a/src/main.ts b/src/main.ts
index 29a55fb..8eb761e 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -56,9 +56,7 @@ async function main() {
context,
github,
commentID,
- `The latest Buf updates to your PR.` +
- `Results from workflow ${context.workflow} / ${context.job} (pull request).` +
- `\n\n${summary.stringify()}`,
+ `The latest Buf updates to your PR. Results from workflow ${context.workflow} / ${context.job} (pull request).\n\n${summary.stringify()}`,
);
}
// Write the summary to a file defined by GITHUB_STEP_SUMMARY.