File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ export class Context {
1515 workflow : string
1616 action : string
1717 actor : string
18- runNumber : string
19- runId : string
18+ runNumber : number
19+ runId : number
2020
2121 /**
2222 * Hydrate the context from the environment
@@ -39,8 +39,8 @@ export class Context {
3939 this . workflow = process . env . GITHUB_WORKFLOW as string
4040 this . action = process . env . GITHUB_ACTION as string
4141 this . actor = process . env . GITHUB_ACTOR as string
42- this . runNumber = process . env . GITHUB_RUN_NUMBER as string
43- this . runId = process . env . GITHUB_RUN_ID as string
42+ this . runNumber = parseInt ( process . env . GITHUB_RUN_NUMBER as string , 10 )
43+ this . runId = parseInt ( process . env . GITHUB_RUN_ID as string , 10 )
4444 }
4545
4646 get issue ( ) : { owner : string ; repo : string ; number : number } {
You can’t perform that action at this time.
0 commit comments