Skip to content

Fix main branch name when initializing a new test repo#115

Merged
Morriar merged 1 commit intomainfrom
at-git-main-branch
Jan 20, 2022
Merged

Fix main branch name when initializing a new test repo#115
Morriar merged 1 commit intomainfrom
at-git-main-branch

Conversation

@Morriar
Copy link
Contributor

@Morriar Morriar commented Jan 20, 2022

We were previously making the assumption that the main branch on a new repo was always master which is no longer the case.

This pull-request fixes the tests on environments where git is configured with a different default branch name by always using main.

cc. @RyanBrushett

Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar Morriar added the bugfix Fix a bug label Jan 20, 2022
@Morriar Morriar requested a review from a team January 20, 2022 15:42
@Morriar Morriar self-assigned this Jan 20, 2022
@Morriar Morriar requested a review from RyanBrushett January 20, 2022 15:42
@Morriar Morriar merged commit febb35a into main Jan 20, 2022
@Morriar Morriar deleted the at-git-main-branch branch January 20, 2022 16:23
@shopify-shipit shopify-shipit bot temporarily deployed to production January 20, 2022 16:49 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants