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

Explicitly set initial branch for tests #216

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

sparr
Copy link
Contributor

@sparr sparr commented Sep 14, 2022

Description of changes:

Add --initial-branch=master to git init in the test repo setup. Without this, tests will encounter errors and fail when run in an environment with a different default initial branch name, such as the recently popular main.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sparr
Copy link
Contributor Author

sparr commented Sep 20, 2022

I chose to make the smallest possible change here. It might be desirable to make a larger change to a different branch name, and update the relevant tests to honor that.

@creswick creswick merged commit 99d01d5 into awslabs:master Sep 20, 2022
@sparr sparr deleted the master_branch branch September 20, 2022 23:41
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

Successfully merging this pull request may close these issues.

None yet

3 participants