Skip to content

Commit 5cdccff

Browse files
paudleyCopilot
andauthored
Update scripts/version_status.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Patrick Audley <paudley@blackcat.ca>
1 parent cfe2885 commit 5cdccff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/version_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def fetch_github_latest(repo: str) -> Optional[str]:
173173
headers["Authorization"] = f"Bearer {GITHUB_TOKEN}" # pragma: allowlist secret
174174
req = urllib.request.Request(url, headers=headers)
175175
with urllib.request.urlopen(req, timeout=10) as resp:
176-
data = json.load(resp)
176+
headers["Authorization"] = f"Bearer {GITHUB_TOKEN}" # pragma: allowlist secret
177177
except Exception:
178178
return None
179179
tag = data.get("tag_name") or data.get("name")

0 commit comments

Comments
 (0)