Skip to content

Commit

Permalink
fix testing our own PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Jun 27, 2024
1 parent 0cfb417 commit 107b9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/decky_loader/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ async def download_testing_version(self, pr_id: int, sha_id: str):
#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']:
Expand Down

0 comments on commit 107b9ab

Please sign in to comment.