From 79414b4f92dd49c7b8063e744d6ac4de4ec2f584 Mon Sep 17 00:00:00 2001 From: daz Date: Sun, 11 Feb 2024 16:34:15 -0700 Subject: [PATCH] Add link to workflow run from PR comment Fixes #11 --- sources/src/job-summary.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/src/job-summary.ts b/sources/src/job-summary.ts index a9c1b7f..e4a52dc 100644 --- a/sources/src/job-summary.ts +++ b/sources/src/job-summary.ts @@ -41,7 +41,9 @@ async function addPRComment(jobSummary: string): Promise { core.info(`Adding Job Summary as comment to PR #${pull_request_number}.`) const prComment = `

Job Summary for Gradle

-
${github.context.workflow} :: ${github.context.job}
+ +
${context.workflow} :: ${context.job}
+
${jobSummary}`