Skip to content

Commit 6aba693

Browse files
authored
bump flakiness report green requirement (#6105)
1 parent 9607dcd commit 6aba693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/flakiness.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ if (Object.keys(flaky).length === 0) {
118118
} else {
119119
const workflowSuccessRate = +((1 - flakeCount / totalCount) * 100).toFixed(1)
120120
const pipelineSuccessRate = +((workflowSuccessRate / 100) ** workflows.length * 100).toFixed(1)
121-
const pipelineBadge = pipelineSuccessRate >= 80 ? '🟢' : pipelineSuccessRate >= 70 ? '🟡' : '🔴'
121+
const pipelineBadge = pipelineSuccessRate >= 85 ? '🟢' : pipelineSuccessRate >= 75 ? '🟡' : '🔴'
122122

123123
console.log(`*Flaky ${logString}`)
124124
for (const [workflow, jobs] of Object.entries(flaky).sort()) {

0 commit comments

Comments
 (0)