From 60b658ed10f06706001b2ab77cc21ccf248615ca Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 27 Jan 2026 14:26:31 +0000 Subject: [PATCH] Update comment --- src/init-action-post-helper.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/init-action-post-helper.ts b/src/init-action-post-helper.ts index dfe260646..28637f98c 100644 --- a/src/init-action-post-helper.ts +++ b/src/init-action-post-helper.ts @@ -128,8 +128,7 @@ export async function tryUploadSarifIfRunFailed( features: FeatureEnablement, logger: Logger, ): Promise { - // If the only enabled analysis kind is `code-quality`, then we shouldn't - // upload the failed SARIF to Code Scanning. + // Only upload the failed SARIF to Code scanning if Code scanning is enabled. if (!isCodeScanningEnabled(config)) { return { upload_failed_run_skipped_because: "Code Scanning is not enabled.",