From b9538b1ce692c85f99e9cc4a78d1cda148435d4f Mon Sep 17 00:00:00 2001 From: Harrison Cramer Date: Thu, 3 Aug 2023 09:43:52 -0400 Subject: [PATCH] BUGFIX: Show all merge requests We do not want to show only merge requests created by the current user, we want to show all merge requests for the current branch created by anyone. --- cmd/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/client.go b/cmd/client.go index 32f9082..26e0c8d 100644 --- a/cmd/client.go +++ b/cmd/client.go @@ -52,6 +52,7 @@ func (c *Client) Init(branchName string) error { } options := gitlab.ListMergeRequestsOptions{ + Scope: gitlab.String("all"), State: gitlab.String("opened"), SourceBranch: &branchName, }