Since renaming master to main, Octobot stopped setting a fix-version when merging into the branch.
Looking at the codebase, I can see that is_main_branch assumes the main branch to be named master, develop, or have the release branch prefix.
My suggestion: add a repo config option for a regular expression that is to be used for matching the main branch of a repository, and have it default to ^(main|master|develop)$.
Since renaming
master
tomain
, Octobot stopped setting a fix-version when merging into the branch. Looking at the codebase, I can see thatis_main_branch
assumes the main branch to be namedmaster
,develop
, or have the release branch prefix.My suggestion: add a repo config option for a regular expression that is to be used for matching the main branch of a repository, and have it default to
^(main|master|develop)$
.