      |> Repo.preload(members: :user)
 
     Enum.each(team.members, fn(membership) ->
-      GithubActions.add_collaborator(team.repo, membership.user.github_handle)
+      Github.add_collaborator(team.repo, membership.user.github_handle)
     end)
   end
 

  alias Api.Competitions
  alias Api.{Competitions.Competition, Competitions.Team, Competitions.Membership,
             Competitions.Category, Competitions.Invite}
  alias ApiWeb.{Vote, PaperVote, Email, GithubActions}
  alias Ecto.{Changeset, Multi}

  def start_voting do

  def create_repo(id) do
    team = Repo.get!(Team, id)

    case Github.create_repo(team) do
      {:ok, repo} ->
        __MODULE__.update_any_team(id, %{repo: repo})
        :ok
