From 785ef02b7c76108148b12898ce5753e954759efe Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 27 Jun 2024 00:38:31 -0400 Subject: fix testing our own PRs --- backend/src/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/src/updater.py') diff --git a/backend/src/updater.py b/backend/src/updater.py index f646e593..4de8812f 100644 --- a/backend/src/updater.py +++ b/backend/src/updater.py @@ -289,7 +289,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