Skip to content

Commit dc279cd

Browse files
authored
Update check_ppktstore_version.py
might need this
1 parent 2b23513 commit dc279cd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/check_ppktstore_version.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
# Get last version of phenopacket-store that ppkt2prompt ran
1919
r = requests.get(
2020
f"https://api.github.com/repos/{this_repo}/actions/variables/{var_name}",
21-
headers={"Authorization": f"Bearer {token}"}
21+
headers={
22+
"Authorization": f"Bearer {token}",
23+
"Accept": "application/vnd.github+json"
24+
}
2225
)
2326

2427
if r.status_code != 200:

0 commit comments

Comments
 (0)