Skip to content

Commit 56d1ccc

Browse files
committed
Change skipped reason message
1 parent e9ce32d commit 56d1ccc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/init-action-post.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init-action-post-helper.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ test("not uploading failed SARIF when `code-scanning` is not an enabled analysis
309309
});
310310
t.is(
311311
result.upload_failed_run_skipped_because,
312-
"Code Scanning is not enabled.",
312+
"No analysis kind that supports failed SARIF uploads is enabled.",
313313
);
314314
});
315315

src/init-action-post-helper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ export async function tryUploadSarifIfRunFailed(
159159
);
160160
} else {
161161
return {
162-
upload_failed_run_skipped_because: "Code Scanning is not enabled.",
162+
upload_failed_run_skipped_because:
163+
"No analysis kind that supports failed SARIF uploads is enabled.",
163164
};
164165
}
165166
} catch (e) {

0 commit comments

Comments
 (0)