Integrated: 2068: Backport command should use default branch of repo as default
Zhao Song
zsong at openjdk.org
Thu Oct 19 20:20:36 UTC 2023
On Thu, 19 Oct 2023 17:05:48 GMT, Zhao Song <zsong at openjdk.org> wrote:
> When a user is using /backport command to create a backport and the user doesn't specify a target branch, skara bot would use "master" as a default target branch. However, in some repos, like lilliput-jdk17u and lilliput-jdk21u, the default branch is not "master". Therefore, it will be better to use the repository's default branch as the default target branch of /backport command.
>
> As Erik said, the value of default branch is already available in the repository JSON. So we just need to implement a `getDefaultBranchName` method.
This pull request has now been integrated.
Changeset: c8b57065
Author: Zhao Song <zsong at openjdk.org>
URL: https://git.openjdk.org/skara/commit/c8b57065211143bf811dd26f2645c3f77986853d
Stats: 46 lines in 9 files changed: 45 ins; 0 del; 1 mod
2068: Backport command should use default branch of repo as default
Reviewed-by: erikj
-------------
PR: https://git.openjdk.org/skara/pull/1572
More information about the skara-dev
mailing list