Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to change Master branch to Main #50

Open
Farnoosh63 opened this issue Sep 18, 2020 · 7 comments
Open

Add option to change Master branch to Main #50

Farnoosh63 opened this issue Sep 18, 2020 · 7 comments

Comments

@Farnoosh63
Copy link

We would like to change our master branch on Github and would be great to have the option to set the default branch variable name. Thanks!

@stevector
Copy link
Contributor

Hi @Farnoosh63, good idea! What happens when you try changing it now? Do builds on the main branch generate a ci- multidev rather than pushing to the Pantheon Dev environment?

If so, I think that the needed change might be in the underlying container where the $TERMINUS_ENV is derived: https://github.com/pantheon-systems/docker-build-tools-ci/blob/6.x/scripts/set-environment#L38 @sugaroverflow or @greg-1-anderson, what do you think?

@greg-1-anderson
Copy link
Member

We could support a different default branch for Build Tools source repositories. We're not ready to do that for Pantheon repositories or upstream repositories yet, though.

@sugaroverflow
Copy link

+1 on supporting main as a default branch for Build Tools source repos (the project repo is already on main).

@rbvea
Copy link

rbvea commented Oct 24, 2020

FWIW, new repositories that are created through Github use main as the default branch now.

@jasonyarrington
Copy link

+1 on supporting main as a default branch for Build Tools source repos

@chachasikes
Copy link

master is still default branch for me (Pantheon default instance)

@aliciaj
Copy link

aliciaj commented Jul 8, 2021

+1 on supporting main as a default branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants