Simplify definitions of environment variables
This commit is contained in:
parent
485b5809e8
commit
3a960869ac
33 changed files with 180 additions and 227 deletions
4
lib/upload-lib.js
generated
4
lib/upload-lib.js
generated
|
|
@ -36,9 +36,9 @@ const file_url_1 = __importDefault(require("file-url"));
|
|||
const jsonschema = __importStar(require("jsonschema"));
|
||||
const actionsUtil = __importStar(require("./actions-util"));
|
||||
const api = __importStar(require("./api-client"));
|
||||
const environment_1 = require("./environment");
|
||||
const fingerprints = __importStar(require("./fingerprints"));
|
||||
const repository_1 = require("./repository");
|
||||
const shared_environment_1 = require("./shared-environment");
|
||||
const util = __importStar(require("./util"));
|
||||
const util_1 = require("./util");
|
||||
const workflow = __importStar(require("./workflow"));
|
||||
|
|
@ -213,7 +213,7 @@ function buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, wo
|
|||
workflow_run_attempt: workflowRunAttempt,
|
||||
checkout_uri: checkoutURI,
|
||||
environment,
|
||||
started_at: process.env[shared_environment_1.CODEQL_WORKFLOW_STARTED_AT],
|
||||
started_at: process.env[environment_1.EnvVar.WORKFLOW_STARTED_AT],
|
||||
tool_names: toolNames,
|
||||
base_ref: undefined,
|
||||
base_sha: undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue