Fix default branch switching #160

Merged
decentral1se merged 1 commits from default-branch-more-robust into main 2022-02-21 08:43:55 +00:00

1 Commits

Author SHA1 Message Date
2fbdcfb958 refactor: try the meta for default branch too
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Sometimes the Branch(...) call gets confused with state in the
repository. Its more robust to use the default value we get from gitea.

See coop-cloud/organising#299.
2022-02-20 18:07:49 +01:00