Skip to content

Commit

Permalink
ci: Set default branch to main (#424)
Browse files Browse the repository at this point in the history
git config --global init.defaultBranch main

https://github.blog/2020-07-27-highlights-from-git-2-28/
  • Loading branch information
peaceiris authored Jul 28, 2020
1 parent 2392f69 commit 4cf5105
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 4cf5105

Please sign in to comment.