We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb68c1c commit 0d5da9fCopy full SHA for 0d5da9f
app/services/github_checks_verifier.rb
@@ -19,10 +19,7 @@ class GithubChecksVerifier < ApplicationService
19
20
def call
21
wait_for_checks
22
- rescue CheckNeverRunError => e
23
- puts e.message
24
- exit(true)
25
- rescue CheckConclusionNotAllowedError => e
+ rescue CheckNeverRunError, CheckConclusionNotAllowedError => e
26
puts e.message
27
exit(false)
28
end
@@ -65,7 +62,7 @@ def apply_regexp_filter(checks)
65
62
66
63
67
64
def all_checks_complete(checks)
68
- checks.all? { |check| check.status == "completed" }
+ checks.count == 1 || checks.any? { |check| check.status == "completed" }
69
70
71
def filters_present?
0 commit comments