From bb105cb52bc1f252c49b082bc7adbb1af39569bc Mon Sep 17 00:00:00 2001 From: rv-jenkins Date: Fri, 15 Mar 2024 22:06:01 -0600 Subject: [PATCH] Missing state 'blocked' --- src/automerge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/automerge.py b/src/automerge.py index 1db3504..0d9e245 100755 --- a/src/automerge.py +++ b/src/automerge.py @@ -109,7 +109,7 @@ def run_git_command(command_args: str) -> subprocess.CompletedProcess: combined_status = commit.get_combined_status().state if pr.mergeable_state == 'clean' and all_checks_passed: up_to_date_passing_prs.append(pr) - elif pr.mergeable_state == 'behind': + elif pr.mergeable_state == 'behind' or pr.mergeable_state == 'blocked': if all_checks_passed: out_of_date_passing_prs.append(pr) else: