mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Fix hotfix script url
This commit is contained in:
2
.github/workflow_data/hotfix.py
vendored
2
.github/workflow_data/hotfix.py
vendored
@@ -12,7 +12,7 @@ if __name__ == "__main__":
|
||||
event = json.load(f)
|
||||
|
||||
release = requests.get(
|
||||
event["repository"]["releases_url"].rsplit("{/")[0] + "latest",
|
||||
event["repository"]["releases_url"].rsplit("{/")[0] + "/latest",
|
||||
headers={
|
||||
"Accept": "application/vnd.github.v3+json",
|
||||
"Authorization": f"token {os.environ['GITHUB_TOKEN']}"
|
||||
|
||||
Reference in New Issue
Block a user