From 67c715d3f7a3c75f600942e93d97c01c41559754 Mon Sep 17 00:00:00 2001 From: Alex Povel Date: Wed, 23 Oct 2024 19:32:14 +0200 Subject: [PATCH] tests(ci): Allow defined but empty `GH_TOKEN` Try and fix CI... --- tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__init__.py b/tests/__init__.py index 34f8409..a2dbc5e 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -22,7 +22,7 @@ "Accept": "application/vnd.github+json", "User-Agent": "ancv-pytest", } -if GH_TOKEN is not None: +if GH_TOKEN: headers["Authorization"] = f"Bearer {GH_TOKEN}" resp = requests.get(