Skip to content

Commit

Permalink
Fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Jul 18, 2024
1 parent 7170670 commit 8037715
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="${lib_github.context.serverUrl}/${lib_github.context.repo.owner}/${lib_github.context.repo.repo}/actions/runs/${lib_github.context.runId}"><b>${lib_github.context.workflow} / ${lib_github.context} (pull request)</b></a>.` +
`Results from workflow <a href="${lib_github.context.serverUrl}/${lib_github.context.repo.owner}/${lib_github.context.repo.repo}/actions/runs/${lib_github.context.runId}"><b>${lib_github.context.workflow} / ${lib_github.context.job} (pull request)</b></a>.` +
`\n\n${summary.stringify()}`);
}
// Write the summary to a file defined by GITHUB_STEP_SUMMARY.
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function main() {
github,
commentID,
`The latest Buf updates to your PR.` +
`Results from workflow <a href="${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}"><b>${context.workflow} / ${context} (pull request)</b></a>.` +
`Results from workflow <a href="${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}"><b>${context.workflow} / ${context.job} (pull request)</b></a>.` +
`\n\n${summary.stringify()}`,
);
}
Expand Down

0 comments on commit 8037715

Please sign in to comment.