Backport command should use default branch of repo as default

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.0
    • Affects Version/s: None
    • Component/s: bots
    • None

      When the /backport command is used without specifying a branch, it's currently using "master" as the default. This happens to be the default branch in most of our repositories, but not all. A better default would be the configured default branch for the target repository. This value happens to be available in the repository JSON as "default_branch" in both GitHub and GitLab, so should be fairly easy to implement (and cheap as no additional rest calls are needed).

            Assignee:
            Zhao Song
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: