diff --git a/fastlane/lanes/localization.rb b/fastlane/lanes/localization.rb index 5c034a8bdfa3..4f3f796c4423 100644 --- a/fastlane/lanes/localization.rb +++ b/fastlane/lanes/localization.rb @@ -432,6 +432,11 @@ TRANSLATIONS_SYNC_BRANCH = 'translations/daily-update' + # Slug (no org prefix) of the GitHub team asked to review the translations PR. The team's + # "Code review assignments" setting picks a single member, so the request lands on one person + # rather than the whole team. + TRANSLATIONS_REVIEWER_TEAM = 'wpmobile-team' + ##################################################################################### # update_translations # ----------------------------------------------------------------------------------- @@ -491,7 +496,8 @@ BODY head: TRANSLATIONS_SYNC_BRANCH, base: DEFAULT_BRANCH, - labels: ['Localization'] + labels: ['Localization'], + team_reviewers: [TRANSLATIONS_REVIEWER_TEAM] ) UI.success("Translations PR: #{pr_url}") end