Skip to content

Commit

Permalink
Missing state 'blocked'
Browse files Browse the repository at this point in the history
  • Loading branch information
rv-jenkins committed Mar 16, 2024
1 parent ac83dc3 commit bb105cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/automerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bb105cb

Please sign in to comment.