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.
NEED_UPGRADE_REBASE
check_need_rebase_status
1 parent caeba4f commit 0047cf4Copy full SHA for 0047cf4
backend/infrahub/core/branch/needs_rebase_status.py
@@ -7,5 +7,5 @@ def raise_needs_rebase_error(branch_name: str) -> None:
7
8
9
def check_need_rebase_status(branch: Branch) -> None:
10
- if branch.status == BranchStatus.NEED_REBASE:
+ if branch.status in (BranchStatus.NEED_REBASE, BranchStatus.NEED_UPGRADE_REBASE):
11
raise_needs_rebase_error(branch_name=branch.name)
0 commit comments