Skip to content

Commit 24c1765

Browse files
committed
Upgrade go-github to v82
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
1 parent f3d8b68 commit 24c1765

35 files changed

Lines changed: 181 additions & 193 deletions

github/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package github
1919
import (
2020
"fmt"
2121

22-
"github.com/google/go-github/v75/github"
22+
"github.com/google/go-github/v82/github"
2323

2424
"github.com/fluxcd/go-git-providers/gitprovider"
2525
)

github/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"strings"
2222

23-
"github.com/google/go-github/v75/github"
23+
"github.com/google/go-github/v82/github"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
2626
)

github/client_organization_teams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package github
1919
import (
2020
"context"
2121

22-
"github.com/google/go-github/v75/github"
22+
"github.com/google/go-github/v82/github"
2323

2424
"github.com/fluxcd/go-git-providers/gitprovider"
2525
)

github/client_repositories_org.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"errors"
2222

23-
"github.com/google/go-github/v75/github"
23+
"github.com/google/go-github/v82/github"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
2626
)

github/client_repository_branch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package github
1919
import (
2020
"context"
2121

22-
"github.com/google/go-github/v75/github"
22+
"github.com/google/go-github/v82/github"
2323

2424
"github.com/fluxcd/go-git-providers/gitprovider"
2525
)

github/client_repository_commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222

2323
"github.com/fluxcd/go-git-providers/gitprovider"
24-
"github.com/google/go-github/v75/github"
24+
"github.com/google/go-github/v82/github"
2525
)
2626

2727
var githubNewFileMode = "100644"

github/client_repository_deploykey.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"errors"
2222

23-
"github.com/google/go-github/v75/github"
23+
"github.com/google/go-github/v82/github"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
2626
)

github/client_repository_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"io"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
26-
"github.com/google/go-github/v75/github"
26+
"github.com/google/go-github/v82/github"
2727
)
2828

2929
// FileClient implements the gitprovider.FileClient interface.

github/client_repository_pullrequest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121

2222
"github.com/fluxcd/go-git-providers/gitprovider"
23-
"github.com/google/go-github/v75/github"
23+
"github.com/google/go-github/v82/github"
2424
)
2525

2626
// PullRequestClient implements the gitprovider.PullRequestClient interface.

github/client_repository_teamaccess.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (c *TeamAccessClient) Get(ctx context.Context, name string) (gitprovider.Te
4949

5050
return newTeamAccess(c, gitprovider.TeamAccessInfo{
5151
Name: name,
52-
Permission: getPermissionFromMap(permissionMap),
52+
Permission: getPermissionFromStruct(permissionMap),
5353
}), nil
5454
}
5555

0 commit comments

Comments
 (0)