Also check for `conclusion` status before automerging.

This commit is contained in:
Markus Reiter 2020-08-29 05:58:35 +02:00
parent 546a5432f3
commit fe6edccb69
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,8 @@ def passed_ci?(check_runs, cask_name)
]
check_runs.all? { |_name, check_run| check_run["conclusion"] == "success" } &&
(check_runs.dig("test (#{cask_name})", "conclusion") == "success")
(check_runs.dig("test (#{cask_name})", "conclusion") == "success") &&
(check_runs.dig("conclusion", "conclusion") == "success")
end
begin