We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd1b12 commit 60b658eCopy full SHA for 60b658e
src/init-action-post-helper.ts
@@ -128,8 +128,7 @@ export async function tryUploadSarifIfRunFailed(
128
features: FeatureEnablement,
129
logger: Logger,
130
): Promise<UploadFailedSarifResult> {
131
- // If the only enabled analysis kind is `code-quality`, then we shouldn't
132
- // upload the failed SARIF to Code Scanning.
+ // Only upload the failed SARIF to Code scanning if Code scanning is enabled.
133
if (!isCodeScanningEnabled(config)) {
134
return {
135
upload_failed_run_skipped_because: "Code Scanning is not enabled.",
0 commit comments