ci: fix audit workflow alerting on stale results (#47643)

This commit is contained in:
David Sanders
2025-07-03 05:42:04 -07:00
committed by GitHub
parent cf193b279b
commit 4c460df0a4

View File

@@ -101,7 +101,6 @@ jobs:
}
if (runsWithErrors.length > 0) {
core.setOutput('errorsFound', true);
core.summary.addHeading('⚠️ Runs with Errors');
core.summary.addTable([
[
@@ -128,6 +127,7 @@ jobs:
// Set this as failed so it's easy to scan runs to find failures
if (runsWithErrors.find((run) => !run.isStale)) {
core.setOutput('errorsFound', true);
process.exitCode = 1;
}
} else {