mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Upload SARIF, not payload
This commit is contained in:
7
lib/entry-points.js
generated
7
lib/entry-points.js
generated
@@ -187080,12 +187080,7 @@ async function maybeUploadFailedSarif(config, repositoryNwo, features, logger2)
|
||||
{ isUnsuccessfulExecution: true }
|
||||
);
|
||||
if (uploadResult.sarifID && shouldSkipSarifUpload()) {
|
||||
await uploadSarifArtifact(logger2, "test-mode-sarif", {
|
||||
// We defaulted to CodeScanning in the `uploadFiles` call above.
|
||||
sarifFile: getSavedPayloadPath(CodeScanning.kind),
|
||||
category: failedSarif.category,
|
||||
checkoutPath: failedSarif.checkoutPath
|
||||
});
|
||||
await uploadSarifArtifact(logger2, "test-mode-sarif", failedSarif);
|
||||
}
|
||||
return uploadResult ? { ...uploadResult.statusReport, sarifID: uploadResult.sarifID } : {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user