Skip to content

Commit eb4fa4c

Browse files
committed
Fix: Respect the project configuration if the forward-only suffix was not set in the bot's config
1 parent 9095c07 commit eb4fa4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmesh/integrations/github/cicd/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def forward_only_plan(self) -> bool:
482482
head_ref = self._pull_request.head.ref
483483
if isinstance(head_ref, str):
484484
return head_ref.endswith(self.bot_config.forward_only_branch_suffix)
485-
return False
485+
return self._context.config.plan.forward_only
486486

487487
@classmethod
488488
def _append_output(cls, key: str, value: str) -> None:

0 commit comments

Comments
 (0)