Skip to content

Commit 4f6cff8

Browse files
committed
ci: fix failure conclusion
1 parent 8144a84 commit 4f6cff8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/create-flaky-test-report.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ async function main() {
619619
console.log(`Found ${workflowRuns.length} workflow run(s)`);
620620

621621
// Count failed runs
622-
const failedRuns = workflowRuns.filter(run => run.conclusion !== 'success');
622+
const failedRuns = workflowRuns.filter(run => run.conclusion === 'failure');
623623
console.log(`Failed CI Runs: ${failedRuns.length}/${workflowRuns.length} from ${env.BRANCH}`);
624624

625625
console.log('Downloading their test artifacts...');

0 commit comments

Comments
 (0)