We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d94cf2e commit fb20eaaCopy full SHA for fb20eaa
1 file changed
src/index.ts
@@ -19,9 +19,11 @@ const octokit = new Octokit();
19
const [owner, repo] = process.env.GITHUB_REPOSITORY?.split("/")!;
20
const pull_request_number = parseInt(process.env.GITHUB_REF?.split("/")[2]!);
21
22
+const body = JSON.stringify(outputs);
23
+
24
octokit.rest.issues.createComment({
25
owner,
26
repo,
27
issue_number: pull_request_number,
- body: `compilation output is:\n\n\`\`\`\n${outputs}\n\`\`\``,
28
+ body: `compilation output is: \n\n\`\`\`json\n${body}\n\`\`\``,
29
});
0 commit comments