Action size: Reduce duplication between upload-lib and entry-points

This commit is contained in:
Henry Mercer
2026-05-18 16:54:32 +01:00
parent c8a3492b26
commit fcc1e3197f
3 changed files with 60 additions and 93748 deletions
+25 -2
View File
@@ -144948,7 +144948,8 @@ __export(entry_points_exports, {
runStartProxyAction: () => runStartProxyAction,
runStartProxyPostAction: () => runStartProxyPostAction,
runUploadSarifAction: () => runUploadSarifAction,
runUploadSarifPostAction: () => runUploadSarifPostAction
runUploadSarifPostAction: () => runUploadSarifPostAction,
uploadLib: () => upload_lib_exports
});
module.exports = __toCommonJS(entry_points_exports);
@@ -155484,6 +155485,27 @@ async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error
}
// src/upload-lib.ts
var upload_lib_exports = {};
__export(upload_lib_exports, {
buildPayload: () => buildPayload,
filterAlertsByDiffRange: () => filterAlertsByDiffRange,
findSarifFilesInDir: () => findSarifFilesInDir,
getGroupedSarifFilePaths: () => getGroupedSarifFilePaths,
populateRunAutomationDetails: () => populateRunAutomationDetails,
postProcessSarifFiles: () => postProcessSarifFiles,
readSarifFileOrThrow: () => readSarifFileOrThrow,
shouldConsiderConfigurationError: () => shouldConsiderConfigurationError,
shouldConsiderInvalidRequest: () => shouldConsiderInvalidRequest,
shouldShowCombineSarifFilesDeprecationWarning: () => shouldShowCombineSarifFilesDeprecationWarning,
throwIfCombineSarifFilesDisabled: () => throwIfCombineSarifFilesDisabled,
uploadFiles: () => uploadFiles,
uploadPayload: () => uploadPayload,
uploadPostProcessedFiles: () => uploadPostProcessedFiles,
validateSarifFileSchema: () => validateSarifFileSchema,
validateUniqueCategory: () => validateUniqueCategory,
waitForProcessing: () => waitForProcessing,
writePostProcessedFiles: () => writePostProcessedFiles
});
var fs21 = __toESM(require("fs"));
var path18 = __toESM(require("path"));
var url = __toESM(require("url"));
@@ -161271,7 +161293,8 @@ async function runUploadSarifPostAction() {
runStartProxyAction,
runStartProxyPostAction,
runUploadSarifAction,
runUploadSarifPostAction
runUploadSarifPostAction,
uploadLib
});
/*! Bundled license information:
+3 -93734
View File
File diff suppressed because one or more lines are too long