Skip to content

Commit

Permalink
tests(ci): Allow defined but empty GH_TOKEN
Browse files Browse the repository at this point in the history
Try and fix CI...
  • Loading branch information
alexpovel committed Oct 23, 2024
1 parent 6a86d44 commit 67c715d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 67c715d

Please sign in to comment.