File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
setup-env/src/actionInput Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
1
const core = require ( '@actions/core' ) ;
2
2
const axios = require ( 'axios' ) ;
3
- const github = require ( '@actions/github' ) ;
4
3
const InputValidator = require ( './inputValidator' ) ;
5
4
const constants = require ( '../../config/constants' ) ;
6
5
const { BROWSERSTACK_TEMPLATE } = require ( "../../config/constants" ) ;
@@ -37,7 +36,7 @@ class ActionInput {
37
36
this . githubApp = core . getInput ( INPUT . GITHUB_APP ) ;
38
37
this . rerunAttempt = process ?. env ?. GITHUB_RUN_ATTEMPT ;
39
38
this . runId = process ?. env ?. GITHUB_RUN_ID ;
40
- this . repository = ` ${ github ?. context ?. repo ?. owner } / ${ github ?. context ?. repo ?. repo } ` ;
39
+ this . repository = process ?. env ?. GITHUB_REPOSITORY ; ;
41
40
} catch ( e ) {
42
41
throw Error ( `Action input failed for reason: ${ e . message } ` ) ;
43
42
}
You can’t perform that action at this time.
0 commit comments