Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
don't build libbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier authored Apr 5, 2023
1 parent ec4df51 commit c7e17be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@ async def _add_package(package: str, repo: str, ref: str, pr: str = "0") -> None

for pr in self.prs.values():
pr_number = str(pr["number"])
if not pr["head"]["repo"]:
logging.warning("no repo detected for pr #%s", pr_number)
continue
for package in pr['libs']:
if not pr["head"]["repo"]:
logging.warning("no repo detected for pr #%s", pr_number)
if package in ["libbsd"]:
logging.warning("ignoring pr #%s because package %s is in deny list", pr_number, package)
continue
tasks.append(_add_package(package, pr["head"]["repo"]["full_name"], pr["head"]["ref"], pr_number))

Expand Down

0 comments on commit c7e17be

Please sign in to comment.