Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Feb 5, 2021
1 parent 2875ef9 commit 2eed1dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cimetrics/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Env(object):
def __init__(self) -> None:
root = self.repo_root
self.CONFIG_FILE = "metrics.yml"
self.DEFAULT_TARGET_BRANCH = "master"
self.DEFAULT_TARGET_BRANCH = "main"

config_file_path = os.path.join(root, self.CONFIG_FILE)
if os.path.exists(config_file_path):
Expand Down
2 changes: 1 addition & 1 deletion cimetrics/github_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def create_image_branch(self):
params = {}
params["ref"] = f"refs/heads/{IMAGE_BRANCH_NAME}"
rep = requests.get(
f"{self.github_url}/git/refs/heads/master",
f"{self.github_url}/git/refs/heads/main",
data="",
headers=self.request_header,
)
Expand Down

0 comments on commit 2eed1dc

Please sign in to comment.