mirror of
https://github.com/mustbeperfect/definitive-opensource.git
synced 2026-08-24 10:13:18 -05:00
Fix logic flaw identified by autonomous review
This commit is contained in:
@@ -9,6 +9,10 @@ with open("data/dynamic/applications.json", "r") as f:
|
||||
|
||||
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
|
||||
|
||||
if GITHUB_TOKEN is None:
|
||||
print("Error: GITHUB_TOKEN environment variable is not set.")
|
||||
exit(1)
|
||||
|
||||
headers = {
|
||||
"Authorization": f"token {GITHUB_TOKEN}",
|
||||
"Accept": "application/vnd.github.v3+json",
|
||||
|
||||
Reference in New Issue
Block a user