feat: prioritize main/master branch selection (#7520)

This commit is contained in:
Andras Bacsai authored and GitHub committed 2025-12-15 15:47:57 +01:00
commit eefc97fccc
2 files changed
+19

No files matched your search

@@ -128,6 +128,7 @@ class GithubPrivateRepository extends Component
$this->loadBranchByPage();
}
}
$this->branches = sortBranchesByPriority($this->branches);
$this->selected_branch_name = data_get($this->branches, '0.name', 'main');
}