Send short codes that do not need URL encoding for better splunk tracing
This commit is contained in:
parent
6df1fc5e38
commit
2ac22e8935
10 changed files with 215 additions and 72 deletions
8
lib/init-action.js
generated
8
lib/init-action.js
generated
|
|
@ -55,11 +55,11 @@ async function run() {
|
|||
let toolsVersion;
|
||||
try {
|
||||
actionsUtil.prepareLocalRunEnvironment();
|
||||
const workflowError = await actionsUtil.getWorkflowError();
|
||||
if (workflowError !== undefined) {
|
||||
core.warning(workflowError);
|
||||
const workflowErrors = await actionsUtil.getWorkflowErrors();
|
||||
if (workflowErrors !== undefined) {
|
||||
core.warning(actionsUtil.formatWorkflowErrors(workflowErrors));
|
||||
}
|
||||
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("init", "starting", startedAt, workflowError)))) {
|
||||
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("init", "starting", startedAt, actionsUtil.formatWorkflowCause(workflowErrors))))) {
|
||||
return;
|
||||
}
|
||||
const initCodeQLResult = await init_1.initCodeQL(actionsUtil.getOptionalInput("tools"), actionsUtil.getRequiredInput("token"), actionsUtil.getRequiredEnvParam("GITHUB_SERVER_URL"), actionsUtil.getRequiredEnvParam("RUNNER_TEMP"), actionsUtil.getRequiredEnvParam("RUNNER_TOOL_CACHE"), "actions", logger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue