Skip to content

Commit e83ce7a

Browse files
committed
feat: enhance repo filtering
1 parent e39f32c commit e83ce7a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/algora/workspace/workspace.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ defmodule Algora.Workspace do
652652
where: uc.user_id in ^ids,
653653
join: u in assoc(uc, :user),
654654
join: r in assoc(uc, :repository),
655+
where: r.tech_stack != [],
655656
join: repo_owner in assoc(r, :user),
656657
# where: fragment("? && ?::citext[]", r.tech_stack, ^(opts[:tech_stack] || [])),
657658
where:
@@ -660,7 +661,9 @@ defmodule Algora.Workspace do
660661
ilike(r.name, "%exercises%") or
661662
ilike(r.name, "%tutorials%") or
662663
r.name == "DefinitelyTyped" or
663-
r.name == "developer-roadmap"),
664+
r.name == "developer-roadmap" or
665+
r.name == "freeCodeCamp" or
666+
r.name == "hiring-without-whiteboards"),
664667
where:
665668
not (ilike(repo_owner.provider_login, "%algorithms%") or
666669
ilike(repo_owner.provider_login, "%firstcontributions%") or

0 commit comments

Comments
 (0)