message: build: set the default branch of the ephemeral repo for publishing build artifacts to main
  It looks like because the primary branch for our ephemeral repos doesn't match the build repos
  we are pushing to it causes errors around shallow clones.  This attempts to prevent this.
  PR Close
diff: @@ -47,7 +47,7 @@ function publishRepo {
  mkdir -p $REPO_DIR
  (
  cd $REPO_DIR && \
  - git init && \
  + git init -b main && \
  git remote add origin $REPO_URL && \
  # use the remote branch if it exists
  if git ls-remote --exit-code origin ${BRANCH}; then
  