Skip to content

Commit

Permalink
fix pull requests ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier authored Sep 4, 2024
1 parent b32e989 commit 72b1e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def _add_package(package: str, repo: str, ref: str, pr: str = "0") -> None
if not pr["head"]["repo"]:
logging.warning("no repo detected for pr #%s", pr_number)
continue
tasks.append(_add_package(package, pr["head"]["repo"]["full_name"], urllib.parse.quote_plus(pr["head"]["ref"]), pr_number))
tasks.append(_add_package(package, f'{self.owner}/{self.repo}', f"pull/{pr_number}/merge", pr_number))

await asyncio.gather(*tasks)

Expand Down

0 comments on commit 72b1e69

Please sign in to comment.