We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9095c07 commit 50be28fCopy full SHA for 50be28f
sqlmesh/integrations/github/cicd/controller.py
@@ -479,10 +479,11 @@ def pr_targets_prod_branch(self) -> bool:
479
480
@property
481
def forward_only_plan(self) -> bool:
482
+ default = self._context.config.plan.forward_only
483
head_ref = self._pull_request.head.ref
484
if isinstance(head_ref, str):
- return head_ref.endswith(self.bot_config.forward_only_branch_suffix)
485
- return False
+ return head_ref.endswith(self.bot_config.forward_only_branch_suffix) or default
486
+ return default
487
488
@classmethod
489
def _append_output(cls, key: str, value: str) -> None:
0 commit comments