Fix kibana_pr for click.Context (#1385)

(cherry picked from commit 64977b01bd)
This commit is contained in:
Ross Wolf
2021-07-27 16:03:28 -06:00
committed by github-actions[bot]
parent 32c0e9fff5
commit 51f8ea7526
+1
View File
@@ -318,6 +318,7 @@ def kibana_commit(ctx, local_repo: str, github_repo: str, ssh: bool, kibana_dire
# Pending an official GitHub API
# @click.option("--automerge", is_flag=True, help="Enable auto-merge on the PR")
@add_git_args
@click.pass_context
def kibana_pr(ctx: click.Context, label: Tuple[str, ...], assign: Tuple[str, ...], draft: bool, token: str, **kwargs):
"""Create a pull request to Kibana."""
branch_name, commit_hash = ctx.invoke(kibana_commit, push=True, **kwargs)