mirror of
https://github.com/github/codeql-action.git
synced 2026-05-16 08:10:12 +00:00
Change skipped reason message
This commit is contained in:
@@ -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