Skip to content

Stop assuming the default primary branch name in tests #294

@altendky

Description

@altendky

When I installed a new version of Git and let it set the default to main this broke some tests in towncrier that assume the main branch will be master. We need to either detect the primary branch name or just force it in the tests. Forcing seems simpler and main seems a good option.

#287 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions