diff --git a/infra/build/functions/ci_trial_build.py b/infra/build/functions/ci_trial_build.py index 0ad8ede36..abb494e5f 100644 --- a/infra/build/functions/ci_trial_build.py +++ b/infra/build/functions/ci_trial_build.py @@ -69,8 +69,7 @@ def exec_command_from_github(pull_request_number, branch): # Set the branch so that the trial_build builds the projects from the PR # branch. - command.append(f' --branch {branch}') - + command.extend(['--branch', branch]) logging.info('Command: %s.', command) return trial_build.trial_build_main(command, local_base_build=False)