forked from gitea/gitea

Filter for default-branch selection (fixes #4751) before:  after:  --------- Co-authored-by: silverwind <me@silverwind.io>