From 4f6cff82eaaf6a6d0a94cebfc17b18980ee4f787 Mon Sep 17 00:00:00 2001 From: Javier Briones <1674192+jvbriones@users.noreply.github.com> Date: Fri, 19 Sep 2025 16:38:55 +0200 Subject: [PATCH] ci: fix failure conclusion --- .github/scripts/create-flaky-test-report.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/create-flaky-test-report.mjs b/.github/scripts/create-flaky-test-report.mjs index 32cdbc75..474a5168 100644 --- a/.github/scripts/create-flaky-test-report.mjs +++ b/.github/scripts/create-flaky-test-report.mjs @@ -619,7 +619,7 @@ async function main() { console.log(`Found ${workflowRuns.length} workflow run(s)`); // Count failed runs - const failedRuns = workflowRuns.filter(run => run.conclusion !== 'success'); + const failedRuns = workflowRuns.filter(run => run.conclusion === 'failure'); console.log(`Failed CI Runs: ${failedRuns.length}/${workflowRuns.length} from ${env.BRANCH}`); console.log('Downloading their test artifacts...');