@@ -55,17 +55,17 @@ async function ensureLabel(github, owner, repo, label, dryRun) {
5555
5656/**
5757 * Check if the latest CI runs for a given commit have any failures.
58- *
58+ *
5959 * We intentionally treat the following as failures:
6060 * - 'failure', 'timed_out' (explicit test failures)
6161 * - 'startup_failure' (e.g., invalid workflow YAML)
6262 * - 'action_required' (e.g., waiting for maintainer approval for first-time contributors)
63- *
63+ *
6464 * We intentionally EXCLUDE 'cancelled':
65- * When a developer pushes a new commit, GitHub automatically cancels the currently
66- * running workflows. If we treated 'cancelled' as a failure, every re-push would
65+ * When a developer pushes a new commit, GitHub automatically cancels the currently
66+ * running workflows. If we treated 'cancelled' as a failure, every re-push would
6767 * instantly demote the PR to queue:junior-committer, frustrating contributors.
68- *
68+ *
6969 * @returns {boolean } true if any check run conclusion is a blocking failure.
7070 */
7171async function hasCIFailures ( github , owner , repo , sha ) {
@@ -80,8 +80,8 @@ async function hasCIFailures(github, owner, repo, sha) {
8080 } ) ;
8181
8282 return checkRuns . some (
83- run =>
84- run . conclusion === 'failure' ||
83+ run =>
84+ run . conclusion === 'failure' ||
8585 run . conclusion === 'timed_out' ||
8686 run . conclusion === 'startup_failure' ||
8787 run . conclusion === 'action_required'
0 commit comments