Skip to content

Commit 6f22908

Browse files
committed
jobId is not available
1 parent cfb52bd commit 6f22908

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,9 @@ async function createComment(sqldefOutput: string, command: string, versionOutpu
248248

249249
const repository = process.env.GITHUB_REPOSITORY!;
250250
const runId = process.env.GITHUB_RUN_ID!;
251-
const jobId = process.env.GITHUB_JOB_ID!;
252251
const workflow = process.env.GITHUB_WORKFLOW!;
253252

254-
const runLink = `[${workflow}](https://github.com/${repository}/actions/runs/${runId}/jobs/${jobId})`;
253+
const runLink = `[${workflow}](https://github.com/${repository}/actions/runs/${runId})`;
255254

256255
const commentBody = `
257256
${htmlCommentId}

0 commit comments

Comments
 (0)