This commit is contained in:
alesapin 2021-11-09 20:56:44 +03:00
parent 54f953f26c
commit f2eb48fe5c
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,6 @@ jobs:
env:
TEMP_PATH: ${{runner.temp}}/cherry_pick
ROBOT_CLICKHOUSE_SSH_KEY: ${{secrets.ROBOT_CLICKHOUSE_SSH_KEY}}
ROBOT_CLICKHOUSE_TOKEN: ${{secrets.ROBOT_CLICKHOUSE_COMMIT_TOKEN}}
REPO_OWNER: "ClickHouse"
REPO_NAME: "ClickHouse"
REPO_TEAM: "core"

View File

@ -5,6 +5,7 @@ import logging
import os
import subprocess
from get_robot_token import get_parameter_from_ssm
from ssh import SSHKey
from cherry_pick_utils.backport import Backport
from cherry_pick_utils.cherrypick import CherryPick
@ -23,7 +24,7 @@ if __name__ == "__main__":
with SSHKey("ROBOT_CLICKHOUSE_SSH_KEY"):
token = os.getenv("ROBOT_CLICKHOUSE_TOKEN")
token = get_parameter_from_ssm("github_robot_token_1")
bp = Backport(token, os.environ.get("REPO_OWNER"), os.environ.get("REPO_NAME"), os.environ.get("REPO_TEAM"))
def cherrypick_run(token, pr, branch):