Keep analysis_name field consistent
This commit is contained in:
parent
2d3d0ca0c7
commit
a0041ad76c
3 changed files with 3 additions and 3 deletions
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
|
|
@ -407,7 +407,7 @@ async function uploadFiles(sarifPath, checkoutPath, category, features, logger)
|
||||||
logger.debug(`Compressing serialized SARIF`);
|
logger.debug(`Compressing serialized SARIF`);
|
||||||
const zippedSarif = zlib_1.default.gzipSync(sarifPayload).toString("base64");
|
const zippedSarif = zlib_1.default.gzipSync(sarifPayload).toString("base64");
|
||||||
const checkoutURI = (0, file_url_1.default)(checkoutPath);
|
const checkoutURI = (0, file_url_1.default)(checkoutPath);
|
||||||
const payload = buildPayload(await actionsUtil.getCommitOid(checkoutPath), await actionsUtil.getRef(), analysisKey, category, zippedSarif, actionsUtil.getWorkflowRunID(), actionsUtil.getWorkflowRunAttempt(), checkoutURI, environment, toolNames, await actionsUtil.determineMergeBaseCommitOid());
|
const payload = buildPayload(await actionsUtil.getCommitOid(checkoutPath), await actionsUtil.getRef(), analysisKey, util.getRequiredEnvParam("GITHUB_WORKFLOW"), zippedSarif, actionsUtil.getWorkflowRunID(), actionsUtil.getWorkflowRunAttempt(), checkoutURI, environment, toolNames, await actionsUtil.determineMergeBaseCommitOid());
|
||||||
// Log some useful debug info about the info
|
// Log some useful debug info about the info
|
||||||
const rawUploadSizeBytes = sarifPayload.length;
|
const rawUploadSizeBytes = sarifPayload.length;
|
||||||
logger.debug(`Raw upload size: ${rawUploadSizeBytes} bytes`);
|
logger.debug(`Raw upload size: ${rawUploadSizeBytes} bytes`);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -591,7 +591,7 @@ export async function uploadFiles(
|
||||||
await actionsUtil.getCommitOid(checkoutPath),
|
await actionsUtil.getCommitOid(checkoutPath),
|
||||||
await actionsUtil.getRef(),
|
await actionsUtil.getRef(),
|
||||||
analysisKey,
|
analysisKey,
|
||||||
category,
|
util.getRequiredEnvParam("GITHUB_WORKFLOW"),
|
||||||
zippedSarif,
|
zippedSarif,
|
||||||
actionsUtil.getWorkflowRunID(),
|
actionsUtil.getWorkflowRunID(),
|
||||||
actionsUtil.getWorkflowRunAttempt(),
|
actionsUtil.getWorkflowRunAttempt(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue