Commit e7a31f42 authored by Josip Sokcevic's avatar Josip Sokcevic Committed by LUCI CQ

Support main branch in bot_update

Change-Id: I58e88e9505779c309ac0af9d5b78b45feaa75543
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2528669Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
parent 982b2a75
......@@ -444,7 +444,7 @@ class BotUpdateApi(recipe_api.RecipeApi):
return 'HEAD'
target_ref = self.m.tryserver.gerrit_change_target_ref
if target_ref == 'refs/heads/master':
if target_ref in ['refs/heads/master', 'refs/heads/master']:
return 'HEAD'
return target_ref
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment