diff --git a/recipes/recipe_modules/bot_update/resources/bot_update.py b/recipes/recipe_modules/bot_update/resources/bot_update.py index 8e68313c54..aaf400e55a 100755 --- a/recipes/recipe_modules/bot_update/resources/bot_update.py +++ b/recipes/recipe_modules/bot_update/resources/bot_update.py @@ -672,7 +672,9 @@ def apply_gerrit_ref(gerrit_repo, gerrit_ref, root, gerrit_reset, ok = False git('checkout', '-b', temp_branch_name, cwd=root) try: - git('rebase', base_rev, cwd=root, tries=1) + git('-c', 'user.name=chrome-bot', + '-c', 'user.email=chrome-bot@chromium.org', + 'rebase', base_rev, cwd=root, tries=1) except SubprocessFailed: # Abort the rebase since there were failures. git('rebase', '--abort', cwd=root)