From 4cf510592915a8c58f536094aa9b881196852ce1 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Tue, 28 Jul 2020 17:35:58 +0900 Subject: [PATCH] ci: Set default branch to main (#424) git config --global init.defaultBranch main https://github.blog/2020-07-27-highlights-from-git-2-28/ --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3982a89..794dd18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,8 @@ ENV GITHUB_REPOSITORY_OWNER="peaceiris" ENV GITHUB_ACTIONS="true" ENV CI="true" +RUN git config --global init.defaultBranch main + WORKDIR /repo CMD [ "bash" ]