mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-06 12:17:06 +00:00
Set request options object
This commit is contained in:
parent
6e2bfe8642
commit
78fbdcc83b
3 changed files with 3 additions and 3 deletions
2
dist/pre/index.js
vendored
2
dist/pre/index.js
vendored
|
|
@ -6290,7 +6290,7 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|||
var api_url = `https://${env}.api.stepsecurity.io/v1`;
|
||||
var web_url = "https://app.stepsecurity.io";
|
||||
let _http = new http_client.HttpClient();
|
||||
_http.requestOptions.socketTimeout = 3 * 1000;
|
||||
_http.requestOptions = { socketTimeout: 3 * 1000 };
|
||||
try {
|
||||
yield _http.get(`${api_url}/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]}/monitor`);
|
||||
}
|
||||
|
|
|
|||
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
|
|
@ -20,7 +20,7 @@ import * as tc from "@actions/tool-cache";
|
|||
var web_url = "https://app.stepsecurity.io";
|
||||
|
||||
let _http = new httpm.HttpClient();
|
||||
_http.requestOptions.socketTimeout = 3 * 1000;
|
||||
_http.requestOptions = { socketTimeout: 3 * 1000 };
|
||||
try {
|
||||
await _http.get(
|
||||
`${api_url}/github/${process.env["GITHUB_REPOSITORY"]}/actions/runs/${process.env["GITHUB_RUN_ID"]}/monitor`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue