Remove dependence of GITHUB_REPOSITORY env var
This commit is contained in:
parent
688df282cd
commit
39b361ed69
15 changed files with 108 additions and 86 deletions
|
|
@ -4,6 +4,7 @@ import { CodeQL } from './codeql';
|
|||
import * as configUtils from './config-utils';
|
||||
import { initCodeQL, initConfig, runInit } from './init';
|
||||
import { getActionsLogger } from './logging';
|
||||
import { parseRepositoryNwo } from './repository';
|
||||
import * as util from './util';
|
||||
|
||||
interface InitSuccessStatusReport extends util.StatusReportBase {
|
||||
|
|
@ -69,6 +70,7 @@ async function run() {
|
|||
core.getInput('languages'),
|
||||
core.getInput('queries'),
|
||||
core.getInput('config-file'),
|
||||
parseRepositoryNwo(util.getRequiredEnvParam('GITHUB_REPOSITORY')),
|
||||
util.getRequiredEnvParam('RUNNER_TEMP'),
|
||||
util.getRequiredEnvParam('RUNNER_TOOL_CACHE'),
|
||||
codeql,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue