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 fc03b38 commit 0917aa8Copy full SHA for 0917aa8
src/stack_pr/cli.py
@@ -506,7 +506,7 @@ def verify(st: List[StackEntry], check_base: bool = False):
506
raise RuntimeError
507
508
# The first entry on the stack needs to be actually mergeable on GitHub.
509
- if check_base and index == 0 and d["mergeStateStatus"] != "CLEAN" and d["mergeStateStatus"] != "UNKNOWN":
+ if check_base and index == 0 and d["mergeStateStatus"] not in ["CLEAN", "UNKNOWN", "UNSTABLE"]:
510
error(ERROR_STACKINFO_PR_NOT_MERGEABLE.format(**locals()))
511
512
0 commit comments