mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Use the best token instead of the constant
This commit is contained in:
parent
d7505d4de7
commit
5f3de6f486
@ -6,7 +6,7 @@ import os
|
||||
import subprocess
|
||||
|
||||
from env_helper import GITHUB_WORKSPACE, TEMP_PATH
|
||||
from get_robot_token import get_parameter_from_ssm
|
||||
from get_robot_token import get_best_robot_token
|
||||
from ssh import SSHKey
|
||||
from cherry_pick_utils.backport import Backport
|
||||
from cherry_pick_utils.cherrypick import CherryPick
|
||||
@ -21,7 +21,7 @@ def parse_args():
|
||||
|
||||
def main():
|
||||
args = parse_args()
|
||||
token = args.token or get_parameter_from_ssm("github_robot_token_1")
|
||||
token = args.token or get_best_robot_token()
|
||||
|
||||
bp = Backport(
|
||||
token,
|
||||
|
Loading…
Reference in New Issue
Block a user