Skip to content

Commit d467bce

Browse files
authored
workaround team membership
1 parent d6abc7b commit d467bce

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/scripts/pr_workflow.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,14 @@ def __init__(self) -> None:
100100
self.verify_labeler_config()
101101

102102
def get_allowed_users(self) -> list[str]:
103-
org: github.Organization = self.gh_client.get_organization("opendatahub-io")
104-
# slug is the team name with replaced special characters,
105-
# all words to lowercase and spaces replace with a -
106-
team: github.Team = org.get_team_by_slug("opendatahub-tests-contributors")
107-
members: PaginatedList[github.NamedUser] = team.get_members()
108-
users = [m.login for member in members]
103+
# org: github.Organization = self.gh_client.get_organization("opendatahub-io")
104+
# # slug is the team name with replaced special characters,
105+
# # all words to lowercase and spaces replace with a -
106+
# team: github.Team = org.get_team_by_slug("opendatahub-tests-contributors")
107+
# members: PaginatedList[github.NamedUser] = team.get_members()
108+
# users = [m.login for member in members]
109+
# TODO: replace once bot user is part of the org and team
110+
users = ["lugi0", "rnetser", "adolfo-ab", "tarukumar", "dbasunag", "mwaykole"]
109111
return users
110112

111113
def verify_allowed_user(self) -> None:

0 commit comments

Comments
 (0)