Skip to content

Commit f09eea1

Browse files
committed
Log when file coverage info is disabled
1 parent 476f932 commit f09eea1

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

lib/analyze-action.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,12 @@ export async function runQueries(
501501
if (qualityAnalysisSummary?.trim()) {
502502
logger.info(qualityAnalysisSummary);
503503
}
504+
if (!config.enableFileCoverageInformation) {
505+
logger.info(
506+
"File coverage information is disabled for this PR analysis for performance reasons. " +
507+
"It will still be enabled for analyses triggered by a push or a schedule.",
508+
);
509+
}
504510

505511
if (await features.getValue(Feature.QaTelemetryEnabled)) {
506512
// Note: QA adds the `code-quality` query suite to the `queries` input,

0 commit comments

Comments
 (0)