diff --git a/lib/entitlements/backend/github_team/provider.rb b/lib/entitlements/backend/github_team/provider.rb index f979c1f..7becd20 100644 --- a/lib/entitlements/backend/github_team/provider.rb +++ b/lib/entitlements/backend/github_team/provider.rb @@ -200,7 +200,7 @@ def diff_existing_updated_metadata(existing_group, group, base_diff) end existing_maintainers = existing_group.metadata_fetch_if_exists("team_maintainers") - changed_maintainers = group.metadata_fetch_if_exists("team_maintainers") + changed_maintainers = group.metadata_fetch_if_exists("team_maintainers")&.downcase if existing_maintainers != changed_maintainers base_diff[:metadata] ||= {} if existing_maintainers.nil? && !changed_maintainers.nil?