fayland / perl-Dist-Zilla-Plugin-GitHubREADME-Badge

Dist::Zilla - add badges to github README.md
Other
6 stars 10 forks source link

Make branch name configurable #46

Closed oalders closed 2 years ago

oalders commented 2 years ago

First off, many thanks for this plugin. I use it in my author bundle. 😄

Would it be possible to make the base branch name configurable? I now have a mixture of master and main among my repositories and for the GitHub Actions badge, it now looks broken for a new repo which does not have a master branch.

fayland commented 2 years ago

Sorry for delay. added

[GitHubREADME::Badge]
branch = main

hope it helps. Thanks

oalders commented 2 years ago

Thanks @fayland!