diff --git a/dist/index.js b/dist/index.js index a798f53..6ba789b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45761,7 +45761,9 @@ 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 from workflow ${lib_github.context.workflow}, job ${lib_github.context.job}.\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} (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. @@ -45785,7 +45787,6 @@ function createSummary(inputs, steps, moduleNames) { { data: "Format", header: true }, { data: "Lint", header: true }, { data: "Breaking", header: true }, - { data: "Run", header: true }, { data: "Updated (UTC)", header: true }, ], [ @@ -45793,7 +45794,6 @@ function createSummary(inputs, steps, moduleNames) { message(steps.format), message(steps.lint), message(steps.breaking), - `view`, new Date().toLocaleString("en-US", { day: "numeric", month: "short", diff --git a/src/main.ts b/src/main.ts index 0a3ebd9..ee9d97a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -56,7 +56,9 @@ async function main() { context, github, commentID, - `The latest buf updates from workflow ${context.workflow}, job ${context.job}.\n\n${summary.stringify()}`, + `The latest Buf updates to your PR.` + + `Results from workflow ${context.workflow} / ${context} (pull request).` + + `\n\n${summary.stringify()}`, ); } // Write the summary to a file defined by GITHUB_STEP_SUMMARY. @@ -101,7 +103,6 @@ function createSummary( { data: "Format", header: true }, { data: "Lint", header: true }, { data: "Breaking", header: true }, - { data: "Run", header: true }, { data: "Updated (UTC)", header: true }, ], [ @@ -109,7 +110,6 @@ function createSummary( message(steps.format), message(steps.lint), message(steps.breaking), - `view`, new Date().toLocaleString("en-US", { day: "numeric", month: "short",