From 8037715e38bde43d4b7426e276a16506b9285e01 Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Thu, 18 Jul 2024 20:27:45 +0200 Subject: [PATCH] Fix link --- .github/workflows/ci.yaml | 2 +- dist/index.js | 2 +- src/main.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0eaa2e4..f251d6d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -163,7 +163,7 @@ jobs: with: script: | const expects = [ - "The latest buf updates from workflow Buf action CI, job test-comment.", + "The latest Buf updates on your PR.", "✅ passed", "❌ failed (1)", "⏩ skipped", diff --git a/dist/index.js b/dist/index.js index 6ba789b..22390fc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45762,7 +45762,7 @@ async function main() { 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} (pull request).` + + `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. diff --git a/src/main.ts b/src/main.ts index ee9d97a..29a55fb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -57,7 +57,7 @@ async function main() { github, commentID, `The latest Buf updates to your PR.` + - `Results from workflow ${context.workflow} / ${context} (pull request).` + + `Results from workflow ${context.workflow} / ${context.job} (pull request).` + `\n\n${summary.stringify()}`, ); }