summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-06-27 00:37:35 -0400
committerAAGaming <aagaming@riseup.net>2024-06-27 00:37:35 -0400
commit107b9abb3eb3bed2e6cbcbbe4fe315c09f4a306b (patch)
treee277f2eb6d632faad00560118e7b394ee969a730
parent0cfb41755a3cf5bc39cd65e45e02418c245fa793 (diff)
downloaddecky-loader-107b9abb3eb3bed2e6cbcbbe4fe315c09f4a306b.tar.gz
decky-loader-107b9abb3eb3bed2e6cbcbbe4fe315c09f4a306b.zip
fix testing our own PRs
-rw-r--r--backend/decky_loader/updater.py2
1 files changed, 1 insertions, 1 deletions
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']: