Skip to content

Commit

Permalink
fix: compare full path to support nested groups (#253)
Browse files Browse the repository at this point in the history
* compare full path to support nested groups
  • Loading branch information
noamd-legit authored Sep 26, 2023
1 parent 3722cc5 commit 5503683
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # ratchet:actions/checkout@v3
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # ratchet:actions/setup-go@v3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.19
go-version: '1.20'
- name: Verify dependencies
run: go mod verify
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion internal/clients/gitlab/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (c *Client) Group(name string) (*gitlab.Group, error) {
}

for _, g := range res.Collected {
if g.Path == name {
if g.FullPath == name {
return g, nil
}
}
Expand Down

0 comments on commit 5503683

Please sign in to comment.