Skip to content

Commit 9c857bd

Browse files
author
Andrei Neagu
committed
query by branch name
1 parent 99c367a commit 9c857bd

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
@@ -27,7 +27,7 @@ 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"
30+
url = f"https://api.github.com/repos/{repo_path}/actions/runs?branch={repo_model.branch}"
3131
headers = {"Authorization": f"Bearer {repo_model.github.github_token}"}
3232
params = {"per_page": "10"}
3333
associated_run: Optional[Dict[str, Any]] = None

0 commit comments

Comments
 (0)