fix: count cancelled github checks as failed (#4077)

This commit is contained in:
Neil
2026-05-31 03:31:12 -07:00
committed by GitHub
parent 1dd9f85bf6
commit bdacd8469f
2 changed files with 15 additions and 1 deletions
+4 -1
View File
@@ -36,7 +36,10 @@ function deriveChecksStatus(
return prChecksStatus
}
const hasFailure = checks.some(
(check) => check.conclusion === 'failure' || check.conclusion === 'timed_out'
(check) =>
check.conclusion === 'failure' ||
check.conclusion === 'timed_out' ||
check.conclusion === 'cancelled'
)
if (hasFailure) {
return 'failure'