diff --git a/git_sync/github.py b/git_sync/github.py index 4c75766..504b20d 100644 --- a/git_sync/github.py +++ b/git_sync/github.py @@ -281,6 +281,7 @@ async def fetch_pull_requests_from_domain( endpoint=endpoint, headers={"Authorization": f"Bearer {token}"}, session=session, + validate=False, ) queries = [pr_query(repo.owner, repo.name) for repo in repos] diff --git a/pyproject.toml b/pyproject.toml index f0ba247..9090cd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "git-sync" -version = "0.8.1" +version = "0.8.2" description = "Synchronize local git repo with remotes" authors = [{ name = "Alice Purcell", email = "alicederyn@gmail.com" }] requires-python = ">= 3.12" diff --git a/tests/test_github.py b/tests/test_github.py index 6a990bf..2f4551a 100644 --- a/tests/test_github.py +++ b/tests/test_github.py @@ -196,6 +196,7 @@ async def test_public_github_endpoint( endpoint="https://api.github.com/graphql", headers={"Authorization": "Bearer test-token"}, session=client_session, + validate=False, ) @@ -211,6 +212,7 @@ async def test_github_enterprise_endpoint( endpoint="https://github.example.com/api/graphql", headers={"Authorization": "Bearer test-token"}, session=client_session, + validate=False, )