We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e133087 commit 55cb9f6Copy full SHA for 55cb9f6
1 file changed
src/index.ts
@@ -55,9 +55,12 @@ for (const file of readdirRecursively(".")) {
55
const outputMatch = compilationOutput.match(/warning( .\d+)?:/);
56
57
if (outputMatch && outputMatch.length > 0) {
58
+
59
+ const { data: job } = await octokit.rest.actions.getJobForWorkflowRun({ owner, repo, job_id: parseInt(jobId) });
60
61
const url = `https://github.com/${owner}/${repo}/actions/runs/${runId}/job/${jobId}#step:${stepId}:1`;
62
- const appendString = `1. <${url}>\n`;
63
+ const appendString = `1. [${job.name}](<${url}>)\n`;
64
if (body) {
65
body += appendString;
66
} else {
0 commit comments