Skip to content

Commit 09a0534

Browse files
Merge remote-tracking branch 'upstream/main' into feat/add-fabric-engine
2 parents 1628ca5 + de07778 commit 09a0534

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

sqlmesh/integrations/github/cicd/controller.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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)}")

0 commit comments

Comments
 (0)