Skip to content

Commit 80a1492

Browse files
author
Andrei Neagu
committed
added params to proper place
1 parent 8937146 commit 80a1492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docker_publisher_osparc_services/http_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ async def github_did_last_repo_run_pass(
2727
) -> bool:
2828
async with async_client() as client:
2929
repo_path = repo_model.repo.split("github.com/")[1].replace(".git", "")
30-
url = f"https://api.github.com/repos/{repo_path}/actions/runs?branch={repo_model.branch}"
30+
url = f"https://api.github.com/repos/{repo_path}/actions/runs"
3131
headers = {"Authorization": f"Bearer {repo_model.github.github_token}"}
32-
params = {"per_page": "10"}
32+
params = {"per_page": "10", "branch": repo_model.branch}
3333
associated_run: Optional[Dict[str, Any]] = None
3434

3535
while url:

0 commit comments

Comments
 (0)