Open tim0git opened 1 year ago
Hi @tim0git
What error are you getting?
The default branch should come directly from the provider
https://github.com/go-semantic-release/provider-github/blob/master/pkg/provider/github.go#L82
Yup. Its finds the default branch correctly. And Analyzes dev. However we are triggering the ci workflow on main. And would like to analyze the commits from the main branch without changing the GitHub default branch from dev to main.
So it does not Error. However it does not find any changes.
Thanks for clarifying.
This isn't currently supported (@christophwitzko can double check) We will need to add a config option to override the default branch.
Ciaran
Thanks @cliedeman, you are right. I will leave this issue open for now, until we add support for it.
Hi folks how do i configure the package to generate a release on main when we have set the default branch to be dev?
The commit analyser is reading the default branch. And i would like to to read the main branch.