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 922ec89 commit 870fad8Copy full SHA for 870fad8
sqlmesh/integrations/github/cicd/controller.py
@@ -773,6 +773,11 @@ def deploy_to_prod(self) -> None:
773
"PR is already merged and this event was triggered prior to the merge."
774
)
775
merge_status = self._get_merge_state_status()
776
+ if merge_status.is_blocked:
777
+ raise CICDBotError(
778
+ "Merge commit cannot be cleanly created. Likely missing CODEOWNERS approval. "
779
+ "Please check PR and resolve any issues."
780
+ )
781
if merge_status.is_dirty:
782
raise CICDBotError(
783
"Merge commit cannot be cleanly created. Likely from a merge conflict. "
0 commit comments