mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Fix
This commit is contained in:
parent
b1433a5807
commit
54f953f26c
3
.github/workflows/backport.yml
vendored
3
.github/workflows/backport.yml
vendored
@ -21,7 +21,8 @@ jobs:
|
|||||||
- name: Cherry pick
|
- name: Cherry pick
|
||||||
env:
|
env:
|
||||||
TEMP_PATH: ${{runner.temp}}/cherry_pick
|
TEMP_PATH: ${{runner.temp}}/cherry_pick
|
||||||
ROBOT_CLICKHOUSE_SSH_KEY: ${{secrets.ROBOT_CLICKHOUSE_COMMIT_TOKEN}}
|
ROBOT_CLICKHOUSE_SSH_KEY: ${{secrets.ROBOT_CLICKHOUSE_SSH_KEY}}
|
||||||
|
ROBOT_CLICKHOUSE_TOKEN: ${{secrets.ROBOT_CLICKHOUSE_COMMIT_TOKEN}}
|
||||||
REPO_OWNER: "ClickHouse"
|
REPO_OWNER: "ClickHouse"
|
||||||
REPO_NAME: "ClickHouse"
|
REPO_NAME: "ClickHouse"
|
||||||
REPO_TEAM: "core"
|
REPO_TEAM: "core"
|
||||||
|
@ -5,7 +5,6 @@ import logging
|
|||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
from get_robot_token import get_parameter_from_ssm
|
|
||||||
from ssh import SSHKey
|
from ssh import SSHKey
|
||||||
from cherry_pick_utils.backport import Backport
|
from cherry_pick_utils.backport import Backport
|
||||||
from cherry_pick_utils.cherrypick import CherryPick
|
from cherry_pick_utils.cherrypick import CherryPick
|
||||||
@ -24,7 +23,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
|
|
||||||
with SSHKey("ROBOT_CLICKHOUSE_SSH_KEY"):
|
with SSHKey("ROBOT_CLICKHOUSE_SSH_KEY"):
|
||||||
token = get_parameter_from_ssm("github_robot_token_1")
|
token = os.getenv("ROBOT_CLICKHOUSE_TOKEN")
|
||||||
|
|
||||||
bp = Backport(token, os.environ.get("REPO_OWNER"), os.environ.get("REPO_NAME"), os.environ.get("REPO_TEAM"))
|
bp = Backport(token, os.environ.get("REPO_OWNER"), os.environ.get("REPO_NAME"), os.environ.get("REPO_TEAM"))
|
||||||
def cherrypick_run(token, pr, branch):
|
def cherrypick_run(token, pr, branch):
|
||||||
|
Loading…
Reference in New Issue
Block a user