mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 17:39:50 +00:00
Fix fallback not being guarded by uploadKind check
This commit is contained in:
5
lib/analyze-action.js
generated
5
lib/analyze-action.js
generated
@@ -96435,7 +96435,7 @@ async function run() {
|
||||
category,
|
||||
getOptionalInput("processed-sarif-path")
|
||||
);
|
||||
} else {
|
||||
} else if (uploadKind === "always") {
|
||||
uploadResults = {};
|
||||
if (isCodeScanningEnabled(config)) {
|
||||
uploadResults["code-scanning" /* CodeScanning */] = await uploadFiles(
|
||||
@@ -96457,6 +96457,9 @@ async function run() {
|
||||
CodeQuality
|
||||
);
|
||||
}
|
||||
} else {
|
||||
uploadResults = {};
|
||||
logger.info("Not uploading results");
|
||||
}
|
||||
if (uploadResults["code-scanning" /* CodeScanning */] !== void 0) {
|
||||
core14.setOutput(
|
||||
|
||||
Reference in New Issue
Block a user