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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ ENV GITHUB_REPOSITORY_OWNER="peaceiris"
ENV GITHUB_ACTIONS="true" ENV GITHUB_ACTIONS="true"
ENV CI="true" ENV CI="true"
RUN git config --global init.defaultBranch main
WORKDIR /repo WORKDIR /repo
CMD [ "bash" ] CMD [ "bash" ]