Skip to content

Commit

Permalink
Merge pull request #765 from GeorgianaElena/fix-staff-again
Browse files Browse the repository at this point in the history
Fix CI - 311 follow-up
  • Loading branch information
GeorgianaElena authored Oct 19, 2021
2 parents 5625abe + ae5571f commit be6c30f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deployer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ def replace_staff_placeholder(user_list, staff):
if isinstance(user_list, str):
user_list = [user_list]

# We might end up in this case when one hub references the config of another deployed hub as an yaml alias
if all(elem in user_list for elem in staff['github_ids']) or all(elem in user_list for elem in staff['google_ids']):
return user_list

custom_users = user_list[:]
for staff_list_type, staff_ids in staff.items():
staff_placeholder = "<staff_" + staff_list_type + ">"
Expand Down

0 comments on commit be6c30f

Please sign in to comment.