From 1dce9de4807681a8eee101b438b94431fb2790e3 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Mon, 13 Dec 2021 07:58:26 -0600 Subject: [PATCH] reflect that the default branch of circuitpython-org is updated --- tools/build_board_info.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/build_board_info.py b/tools/build_board_info.py index dde59e7e43a62..3ebd799b11ae1 100644 --- a/tools/build_board_info.py +++ b/tools/build_board_info.py @@ -160,10 +160,10 @@ def get_version_info(): def get_current_info(): - response = github.get("/repos/adafruit/circuitpython-org/git/refs/heads/master") + response = github.get("/repos/adafruit/circuitpython-org/git/refs/heads/main") if not response.ok: print(response.text) - raise RuntimeError("cannot get master sha") + raise RuntimeError("cannot get main sha") commit_sha = response.json()["object"]["sha"] response = github.get( @@ -235,7 +235,7 @@ def create_pr(changes, updated, git_info, user): pr_info = { "title": pr_title, "head": user + ":" + branch_name, - "base": "master", + "base": "main", "body": message, "maintainer_can_modify": True, }