From 5e4b1f17de1d1b6ec2dfe9def630e7e005ac8a2b Mon Sep 17 00:00:00 2001 From: 839 <8398a7@gmail.com> Date: Fri, 26 Jun 2020 08:22:22 +0900 Subject: [PATCH] Changed to get the job name (#371) --- packages/github/src/context.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/github/src/context.ts b/packages/github/src/context.ts index 5b02b182d3..52efabb068 100644 --- a/packages/github/src/context.ts +++ b/packages/github/src/context.ts @@ -15,6 +15,7 @@ export class Context { workflow: string action: string actor: string + job: string runNumber: number runId: number @@ -39,6 +40,7 @@ export class Context { this.workflow = process.env.GITHUB_WORKFLOW as string this.action = process.env.GITHUB_ACTION as string this.actor = process.env.GITHUB_ACTOR as string + this.job = process.env.GITHUB_JOB as string this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER as string, 10) this.runId = parseInt(process.env.GITHUB_RUN_ID as string, 10) }