From cad612124cb48626b0a4a919444bc5b0029613a4 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Fri, 30 Apr 2021 19:20:51 -0700 Subject: [PATCH] Prep for 3.10 beta release: Use the `main` branch Closes https://github.com/python/miss-islington/issues/446 Signed-off-by: Mariatta --- miss_islington/tasks.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/miss_islington/tasks.py b/miss_islington/tasks.py index 30a69cb0a..58a99f188 100644 --- a/miss_islington/tasks.py +++ b/miss_islington/tasks.py @@ -21,6 +21,14 @@ cache = cachetools.LRUCache(maxsize=500) +CHERRY_PICKER_CONFIG = { + "team": "python", + "repo": "cpython", + "check_sha": "7f777ed95a19224294949e1b4ce56bbffcb1fe9f", + "fix_commit_msg": True, + "default_branch": "main", +} + @app.task() def setup_cpython_repo(): @@ -88,7 +96,11 @@ async def backport_task_asyncio( ) await util.assign_pr_to_core_dev(gh, issue_number, merged_by) cp = cherry_picker.CherryPicker( - "origin", commit_hash, [branch], prefix_commit=False + "origin", + commit_hash, + [branch], + config=CHERRY_PICKER_CONFIG, + prefix_commit=False, ) try: cp.backport()