File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
sqlmesh/integrations/github/cicd Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ theme:
162162 - navigation.expand # # expands navigation bar by default
163163 - navigation.tracking
164164 - navigation.tabs
165+ - navigation.tabs.sticky
165166 - navigation.sections
166167 - navigation.top
167168 - toc.follow
Original file line number Diff line number Diff line change @@ -290,6 +290,7 @@ def __init__(
290290 config : t .Optional [t .Union [Config , str ]] = None ,
291291 event : t .Optional [GithubEvent ] = None ,
292292 client : t .Optional [Github ] = None ,
293+ context : t .Optional [Context ] = None ,
293294 ) -> None :
294295 from github import Github
295296
@@ -331,7 +332,7 @@ def __init__(
331332 if review .state .lower () == "approved"
332333 }
333334 logger .debug (f"Approvers: { ', ' .join (self ._approvers )} " )
334- self ._context : Context = Context (paths = self ._paths , config = self .config )
335+ self ._context : Context = context or Context (paths = self ._paths , config = self .config )
335336
336337 # Bot config needs the context to be initialized
337338 logger .debug (f"Bot config: { self .bot_config .json (indent = 2 )} " )
You can’t perform that action at this time.
0 commit comments