diff --git a/dist/index.js b/dist/index.js index ab66d12..7c8fc43 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45761,7 +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 on 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 on 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 06efe5b..ae0a1c8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -56,7 +56,7 @@ async function main() { context, github, commentID, - `The latest Buf updates on your PR. Results from workflow ${context.workflow} / ${context.job} (pull request).\n\n${summary.stringify()}`, + `The latest Buf updates on 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.