Skip to content

Commit

Permalink
main first
Browse files Browse the repository at this point in the history
  • Loading branch information
howardt12345 committed Oct 18, 2023
1 parent e617060 commit 9302eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/restart/bot_git_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
BOT_REPO = GITHUB_OBJECT.get_repo(REPO_NAME)

def list_of_branches():
return [branch.name for branch in BOT_REPO.get_branches()]
return ['main'] + [branch.name for branch in BOT_REPO.get_branches()].remove('main')

0 comments on commit 9302eb8

Please sign in to comment.