ci: Set default branch to main (#424)

git config --global init.defaultBranch main

https://github.blog/2020-07-27-highlights-from-git-2-28/
This commit is contained in:
Shohei Ueda
2020-07-28 17:35:58 +09:00
committed by GitHub
parent 2392f69e4d
commit 4cf5105929
+2
View File
@@ -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" ]