Skip to content

Commit 6172d87

Browse files
authored
fix: use graphql env var to support enterprise (#2331)
1 parent 68bdbb7 commit 6172d87

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
@@ -488,7 +488,7 @@ def _get_merge_state_status(self) -> MergeStateStatus:
488488
}}
489489
}}"""
490490
request = requests.post(
491-
"/".join([os.environ["GITHUB_API_URL"], "graphql"]),
491+
os.environ["GITHUB_GRAPHQL_URL"],
492492
json={"query": query},
493493
headers=headers,
494494
)

0 commit comments

Comments
 (0)