-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
When the gitlab provider was intro'd we accidentally copy-pasted a constraint from the github provider that validates and rejects subgroups (makes sense for github, not gitlab)
You can workaround this check in code calling ggp with
// Add the subgroups
ref.Organization = strings.Join(append([]string{ref.Organization}, ref.SubOrganizations...), "/")
ref.SubOrganizations = nilbefore using the ref to do something. At least these methods work fine:
- GetRepo
- CreateBranch
- CreateCommit
- CreatePullRequest
We should
- remove the check in the validation.
- Either reflect the suborgs in the org as above, or take the suborgs into account when doing requests.
Metadata
Metadata
Assignees
Labels
No labels