Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/scripts/pr_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ def __init__(self) -> None:
self.verify_labeler_config()

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

def verify_allowed_user(self) -> None:
Expand Down