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.
This commit is contained in:
@@ -52,6 +52,7 @@ func (c *Client) Init(branchName string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
options := gitlab.ListMergeRequestsOptions{
|
options := gitlab.ListMergeRequestsOptions{
|
||||||
|
Scope: gitlab.String("all"),
|
||||||
State: gitlab.String("opened"),
|
State: gitlab.String("opened"),
|
||||||
SourceBranch: &branchName,
|
SourceBranch: &branchName,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user