1
0
Fork 0

Follow var naming style, add GITHUB_REF_NAME support

pull/935/head
Korenevskiy Denis 2021-11-18 20:11:25 +03:00
parent 8dab5a8140
commit 7c7651be66
1 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,8 @@ export class Context {
eventName: string
sha: string
ref: string
ref_type: string
refName: string
refType: string
workflow: string
action: string
actor: string
@ -41,7 +42,8 @@ export class Context {
this.eventName = process.env.GITHUB_EVENT_NAME as string
this.sha = process.env.GITHUB_SHA as string
this.ref = process.env.GITHUB_REF as string
this.ref_type = process.env.GITHUB_REF_TYPE as string
this.refName = process.env.GITHUB_REF_NAME as string
this.refType = process.env.GITHUB_REF_TYPE as string
this.workflow = process.env.GITHUB_WORKFLOW as string
this.action = process.env.GITHUB_ACTION as string
this.actor = process.env.GITHUB_ACTOR as string