Update setup.ts
This commit is contained in:
parent
78fbdcc83b
commit
4869a8ee0e
3 changed files with 5 additions and 5 deletions
4
dist/pre/index.js
vendored
4
dist/pre/index.js
vendored
|
|
@ -6286,7 +6286,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|||
return;
|
||||
}
|
||||
var correlation_id = v4();
|
||||
var env = "agent1";
|
||||
var env = "agent";
|
||||
var api_url = `https://${env}.api.stepsecurity.io/v1`;
|
||||
var web_url = "https://app.stepsecurity.io";
|
||||
let _http = new http_client.HttpClient();
|
||||
|
|
@ -6295,7 +6295,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|||
yield _http.get(`${api_url}/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]}/monitor`);
|
||||
}
|
||||
catch (e) {
|
||||
console.log(`Error in connecting to ${api_url}: ${e}`);
|
||||
console.log(`error in connecting to ${api_url}: ${e}`);
|
||||
}
|
||||
const confg = {
|
||||
repo: process.env["GITHUB_REPOSITORY"],
|
||||
|
|
|
|||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -15,7 +15,7 @@ import * as tc from "@actions/tool-cache";
|
|||
}
|
||||
|
||||
var correlation_id = uuidv4();
|
||||
var env = "agent1";
|
||||
var env = "agent";
|
||||
var api_url = `https://${env}.api.stepsecurity.io/v1`;
|
||||
var web_url = "https://app.stepsecurity.io";
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ import * as tc from "@actions/tool-cache";
|
|||
`${api_url}/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]}/monitor`
|
||||
);
|
||||
} catch (e) {
|
||||
console.log(`Error in connecting to ${api_url}: ${e}`);
|
||||
console.log(`error in connecting to ${api_url}: ${e}`);
|
||||
}
|
||||
|
||||
const confg = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue