From 9422eacbc38c9693f8ef285b20793402302082a9 Mon Sep 17 00:00:00 2001 From: Johnatas Date: Thu, 16 Nov 2023 10:07:33 -0300 Subject: [PATCH] Update rancher.go --- release/rancher/rancher.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/release/rancher/rancher.go b/release/rancher/rancher.go index 4cb65e0a..136de000 100644 --- a/release/rancher/rancher.go +++ b/release/rancher/rancher.go @@ -320,14 +320,12 @@ func SetChartBranchReferences(ctx context.Context, forkPath, rancherBaseBranch, } func createPRFromRancher(ctx context.Context, rancherBaseBranch, title, branchName, forkOwner string, ghClient *github.Client) error { - pull := &github.NewPullRequest{ Title: github.String(title), Base: github.String(rancherBaseBranch), Head: github.String(forkOwner + ":" + branchName), MaintainerCanModify: github.Bool(true), } - _, _, err := ghClient.PullRequests.Create(ctx, "rancher", "rancher", pull) return err