Skip to content

Commit d45807b

Browse files
committed
use baseBranch defined by cli args
1 parent 94fd274 commit d45807b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/cmd/combine_prs.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ func CombinePRs(ctx context.Context, graphQlClient *api.GraphQLClient, restClien
7979
// Create the combined PR
8080
prBody := generatePRBody(combinedPRs, mergeFailedPRs)
8181
prTitle := "Combined PRs"
82-
baseBranch := matchedPRs[0].Base // Use the base branch of the first PR
8382
err = createPullRequest(ctx, restClient, owner, repo, prTitle, combineBranchName, baseBranch, prBody)
8483
if err != nil {
8584
return fmt.Errorf("failed to create combined PR: %w", err)

0 commit comments

Comments
 (0)