diff --git a/pkg/commands/github.go b/pkg/commands/github.go index dca4fb34d..f9e8e0e32 100644 --- a/pkg/commands/github.go +++ b/pkg/commands/github.go @@ -40,7 +40,7 @@ func (c *GitCommand) GenerateGithubPullRequestMap(prs []*models.GithubPullReques } for _, branch := range branches { - if !branch.IsTrackingRemote() { + if !branch.IsTrackingRemote() || branch.BranchName() == "" { continue }