Try to avoid to set Code-Review+1

No-Presubmit: True
Bug: chromium:1260482
Change-Id: I9db4b1291217031ff5107668318edfef7c33ddfb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238163
Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Christoffer Jansson <jansson@google.com>
Cr-Commit-Position: refs/heads/main@{#35367}
This commit is contained in:
Mirko Bonadei
2021-11-17 12:20:17 +01:00
committed by WebRTC LUCI CQ
parent 96ef2bd293
commit 9456501f19

View File

@ -641,11 +641,9 @@ def _UploadCL(commit_queue_mode):
cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks']
if commit_queue_mode >= 2:
logging.info('Sending the CL to the CQ...')
# Sets Commit-Queue+2.
cmd.extend(['--use-commit-queue'])
cmd.extend(['--send-mail', '--cc', NOTIFY_EMAIL])
# Sets Bot-Commit+1.
cmd.extend(['-o', 'label=Bot-Commit+1'])
cmd.extend(['-o', 'label=Commit-Queue+2'])
cmd.extend(['--send-mail', '--cc', NOTIFY_EMAIL])
elif commit_queue_mode >= 1:
logging.info('Starting CQ dry run...')
cmd.extend(['--cq-dry-run'])