Support alternate default branches for CI badge
danielbachhuber opened this issue · comments
CI badge generation is currently hardcoded to master
:
scaffold-package-command/src/ScaffoldPackageCommand.php
Lines 258 to 263 in f5684be
This repo now uses main
. trunk
is also common.
Done is:
- There's a flag to manually specify the preferred 'main' branch for the package.
@danielbachhuber Detecting for all setups wee be hard but we can add a parameter and set default value to for example main
.
@wojsmol I'm fine with skipping the "default branch detection".