Skip to content

Commit fffeb71

Browse files
author
Andrei Neagu
committed
fixed issue with missing key
1 parent 28be71c commit fffeb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docker_publisher_osparc_services/http_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def github_did_last_repo_run_pass(
3636
result = await client.get(url, params=params, headers=headers)
3737
runs = result.json()
3838

39-
for run in runs["workflow_runs"]:
39+
for run in runs.get("workflow_runs", []):
4040
if (
4141
run["head_commit"]["id"] == branch_hash
4242
and run["head_branch"] == repo_model.branch

0 commit comments

Comments
 (0)