mirror of
https://github.com/github/codeql-action
synced 2026-05-25 15:00:36 +03:00
Change skipped reason message
This commit is contained in:
Generated
+1
-1
@@ -169811,7 +169811,7 @@ async function tryUploadSarifIfRunFailed(config, repositoryNwo, features, logger
|
||||
);
|
||||
} else {
|
||||
return {
|
||||
upload_failed_run_skipped_because: "Code Scanning is not enabled."
|
||||
upload_failed_run_skipped_because: "No analysis kind that supports failed SARIF uploads is enabled."
|
||||
};
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
@@ -309,7 +309,7 @@ test("not uploading failed SARIF when `code-scanning` is not an enabled analysis
|
||||
});
|
||||
t.is(
|
||||
result.upload_failed_run_skipped_because,
|
||||
"Code Scanning is not enabled.",
|
||||
"No analysis kind that supports failed SARIF uploads is enabled.",
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -159,7 +159,8 @@ export async function tryUploadSarifIfRunFailed(
|
||||
);
|
||||
} else {
|
||||
return {
|
||||
upload_failed_run_skipped_because: "Code Scanning is not enabled.",
|
||||
upload_failed_run_skipped_because:
|
||||
"No analysis kind that supports failed SARIF uploads is enabled.",
|
||||
};
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user