From 107b9abb3eb3bed2e6cbcbbe4fe315c09f4a306b Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 27 Jun 2024 00:37:35 -0400 Subject: fix testing our own PRs --- backend/decky_loader/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/decky_loader/updater.py b/backend/decky_loader/updater.py index 780cf263..b295e92d 100644 --- a/backend/decky_loader/updater.py +++ b/backend/decky_loader/updater.py @@ -266,7 +266,7 @@ class Updater: #Get all the associated workflow run for the given sha_id code hash async with ClientSession() as web: async with web.request("GET", "https://api.github.com/repos/SteamDeckHomebrew/decky-loader/actions/runs", - headers={'X-GitHub-Api-Version': '2022-11-28'}, params={'event':'pull_request', 'head_sha': sha_id}, ssl=helpers.get_ssl_context()) as res: + headers={'X-GitHub-Api-Version': '2022-11-28'}, params={'head_sha': sha_id}, ssl=helpers.get_ssl_context()) as res: works = await res.json() #Iterate over the workflow_run to get the two builds if they exists for work in works['workflow_runs']: -- cgit v1.2.3